Mailinglist Archive: opensuse-buildservice (225 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] backup of OBS
- From: Lars Vogdt <lrupp@xxxxxxxxxx>
- Date: Mon, 19 Sep 2011 23:03:08 +0200
- Message-id: <20110919230308.eouhs4teogosog0g@imap.suse.de>
On So 18 Sep 2011 05:53:36 CEST Damian Ivanov <damianatorrpm@xxxxxxxxx> wrote:
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
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 > |