Mailinglist Archive: opensuse-buildservice (225 mails)

< Previous Next >
Re: [opensuse-buildservice] backup of OBS
On So 18 Sep 2011 05:53:36 CEST Damian Ivanov <damianatorrpm@xxxxxxxxx> wrote:
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References