[opensuse-buildservice] backup of OBS
Hi, is it possible somehow to backup my whole homeproject and keep it in sync with a local directory? Thanks, Regards Damian -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sun, 18 Sep 2011 06:53:36 +0300
Damian Ivanov
Hi, is it possible somehow to backup my whole homeproject and keep it in sync with a local directory?
Thanks,
Regards Damian Hi Don't you use osc to build etc locally?
-- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop up 5 days 7:13, 4 users, load average: 0.08, 0.20, 0.17 GPU GeForce 8600 GTS Silent - Driver Version: 280.13 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On So 18 Sep 2011 05:53:36 CEST Damian Ivanov
is it possible somehow to backup my whole homeproject and keep it in sync with a local directory?
Just a roghe guess: first: * zypper in osc * osc co $homeproject via cron: * pushd $homeproject * osc up # (use "osc up $OPTIONS" here, if you like) * osc meta prj $homeproject > _prj-$(date +"%Y%m%d") * osc meta prjconf $homeproject > _prjconf-$(date +"%Y%m%d") If you really have special hacks for your packages, you might also want to use: * pushd $homeproject/$package * osc meta pkg > _pkg-$(date +"%Y%m%d") * popd Does this help already? With kind regards, Lars -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Damian Ivanov
-
Lars Vogdt
-
Malcolm