Page 2 of 2

Re: quick and easy backup solution

Posted: Fri May 30, 2014 5:35 pm
by cbjohnson
I have installed sbackup from the Synaptic Package Manager which yielded 0.11.6 and also from the Software Manager within LM16, but I can't find a way to launch the program. It does not appear in any menu, nor will it start from Terminal.

Anyone really using sbackup? If so, how do you run it?

I'm new to LM and have installed LM16, but have lots of experience with Windoz and Macs.

Ideas, please?

Thanks, Charles

Re: quick and easy backup solution

Posted: Sat May 31, 2014 7:40 am
by eanfrid
It is located under "Accessories":
1058854a32e9c5e.png
labelled "Simple Backup"

Re: quick and easy backup solution

Posted: Sat May 31, 2014 10:03 pm
by cbjohnson
Thanks for reply.

Doesn't work under LM16 or LM17 Cinnamon 32 bit. No such entry under "Accessories", or any other menu.

I wanted to use sbackup because it enables access to network shares, but can not launch the installed application package.

If anyone can tell me how to do so, I'd appreciate the response.

Re: quick and easy backup solution

Posted: Sun Jun 01, 2014 2:36 am
by eanfrid
OK you cannot use sbackup until you configured it. In a terminal or with Alt+F2, run:

Code: Select all

sbackup-config-gtk
if this does not work, then either you actually did not install "sbackup" (CLI) and "sbackup-gtk" (GUI) or you did not install it from the repos.

Re: quick and easy backup solution

Posted: Sun Jun 01, 2014 7:01 pm
by cbjohnson
After I installed "sbackup-gtk", I found the entry in the menu system. But, in the repos there was no indication it was required as well. But, it's working, sort of: question: how do I take a full backup of the LM installation, and not just my home folders? I want a full backup to go back to if I have to. I used the "full backup" option when I created the snapshot, but that did not do what I thought. For "included" folders, I simply used "/", which I took to mean the base of the directory tree. Must be wrong about that?
Thanks...

Re: quick and easy backup solution

Posted: Sun Jun 01, 2014 10:00 pm
by cryptotheslow
Doing a full recursive backup from / is unlikely to turn out well. For a start you'd have to run it with root privileges to have any hope of succeeding and then you run into issues with parts of the / filesystem that are not files at all but kernel representations of hardware devices and so forth, a lot of which are 'created' at boot time anyway and are hardware specific in many cases.

My strategy is to use a Clonezilla Live USB (http://clonezilla.org/) to take a copy of my Mint partition every month or so (as and when I think about it basically) and in the intervening time I use Unison (http://www.cis.upenn.edu/~bcpierce/unison/) to keep regular backups of my home and music directories over SSH to a little atom powered Ubuntu server that lives on my LAN as a file server (amongst other things).

Unison has a gadjillion options so it pays to spend some time with the well documented manual. But it can be as simple as a tiny shell script like:

Code: Select all

#!/bin/sh
echo "Using Unison to sync up music folder to ubuserver!"
unison /media/MUSIC/music ssh://ubuserver//home/backup/media/music
read -p "Done. Waiting here for the boss-man to see me and hit a key!" nothing
That's a terrible script by the way as it does no sanity checking as to whether MUSIC is even mounted etc. Quick and dirty :oops:

Re: quick and easy backup solution

Posted: Mon Jun 02, 2014 2:33 am
by Pierre
yep, using LuckyBackup as a front-end for Rsync works a treat. ..

also, one can just backup to an archive:
http://www.aboutdebian.com/tar-backup.htm
- that way, works too.

Re: quick and easy backup solution

Posted: Mon Jun 02, 2014 3:17 am
by eanfrid
cbjohnson wrote:After I installed "sbackup-gtk", I found the entry in the menu system. But, in the repos there was no indication it was required as well.
System utilities never require any GUI. A GUI is only a convenient tool run inside a graphical desktop environment, usually only "playing" with the 80% most used/useful functions/parameters of the underlying utilities.

Re: quick and easy backup solution

Posted: Sun Sep 09, 2018 5:45 pm
by JayBird707
WharfRat wrote:
Mon Apr 14, 2014 8:33 am
rmcellig,

I use rsync via ssh

Code: Select all

rsync -aviuzh  --progress --delete-during  /media/shared/script/ user@ipaddress:/media/shared/script/
To auto login to the remote system you can generate a public key with ssh-keygen so it will work unattended with a cron job.

Good luck :wink:
I use an rsync command similar to this except I execute as sudo so I backup all users data. I'm trying to get my script to work unattended. I use keys for the ssh part. I've added username ALL= NOPASSWD:/usr/bin/rsync with visudo to both local and remote servers but still get prompted for the password associated with the destination portion of the rsync command.

Any help or guidance will be appreciated.