Running SBackup applications from the command line

Asked by PeterK2003

i used to have a cron job setup to run sbackup on servers every night:

if [ -x /usr/sbin/sbackupd ]; then /usr/sbin/sbackupd; fi;

After upgrading to Ubuntu 10.10 this no longer seems to work....Help?

Thanks,
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
sbackup Edit question
Assignee:
No assignee Edit question
Solved by:
Anton
Solved:
Last query:
Last reply:
Revision history for this message
Jean-Peer Lorenz (peer.loz) said :
#1

Thanks for using SBackup.

Beginning with sbackup 0.11.x the naming scheme was changed. It is now more consistent and intuitive. sbackupd was renamed since it's actually not a system deamon:

'sbackup' - the backup programm (was 'sbackupd')
'sbackup-config-gtk' - configuration gui written in GTK+
'sbackup-restore-gtk' - restoration and snapshot handling (delete, upgrade) written in GTK+

HTH,
Jean-Peer.

P.S.: You can define/set up a cron job using the configuration gui (when running as root). Supported are simple schedules (e.g. daily, hourly) as well as custom cron expressions (e.g. 10 * * * *).

Revision history for this message
Jean-Peer Lorenz (peer.loz) said :
#2

Jean-Peer Lorenz suggests this article as an answer to your question:
FAQ #1323: “Running SBackup applications from the command line”.

Revision history for this message
Anton (feenstra) said :
#3

On 12/10/10 19:53, PeterK2003 wrote:
> New question #129095 on Simple Backup:
> https://answers.launchpad.net/sbackup/+question/129095
>
> i used to have a cron job setup to run sbackup on servers every night:
>
> if [ -x /usr/sbin/sbackupd ]; then /usr/sbin/sbackupd; fi;
>
> After upgrading to Ubuntu 10.10 this no longer seems to work....Help?

It's now called /usr/sbin/sbackup

Anton

Revision history for this message
Best Anton (feenstra) said :
#4

On 13/10/10 09:45, Anton wrote:
> Question #129095 on Simple Backup changed:
> https://answers.launchpad.net/sbackup/+question/129095
>
> Anton proposed the following answer:
> On 12/10/10 19:53, PeterK2003 wrote:
>> New question #129095 on Simple Backup:
>> https://answers.launchpad.net/sbackup/+question/129095
>>
>> i used to have a cron job setup to run sbackup on servers every night:
>>
>> if [ -x /usr/sbin/sbackupd ]; then /usr/sbin/sbackupd; fi;
>>
>> After upgrading to Ubuntu 10.10 this no longer seems to work....Help?
>
> It's now called /usr/sbin/sbackup

Sorry, that should have been /usr/bin/sbackup

Anton

Revision history for this message
Jean-Peer Lorenz (peer.loz) said :
#5

Following FAQ lists available commandline parameters and might be interesting for you too: https://answers.launchpad.net/sbackup/+faq/1294

Revision history for this message
PeterK2003 (peter-krum) said :
#6

Thanks Anton, that solved my question.

Revision history for this message
Al_ (software-quantentunnel) said :
#7

Further to the question, how to run from the commandline: I have not seen an option to install sbackup without GUI components for use on a server. May I politely suggest, if technically feasible, to split the sbackup package, e.g., in sbackup-core (=no GUI) and sbackup (GUI components, with dependency on sbackup-core)?

Obviously I will then need to manually edit /etc/sbackup.conf. This does not seem difficult even without man entry for sbackup.conf; the configuration file on my Ubuntu desktop machine (with GUI) is self explanatory.

And last, of course, many thanks for sbackup. My Ubuntu enjoys it daily; and I will enjoy it when the harddisk goes belly up.

Al_