quick and easy backup solution

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
cbjohnson
Level 1
Level 1
Posts: 3
Joined: Fri May 30, 2014 5:21 pm

Re: quick and easy backup solution

Post by cbjohnson » Fri May 30, 2014 5:35 pm

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

User avatar
eanfrid
Level 7
Level 7
Posts: 1859
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: quick and easy backup solution

Post by eanfrid » Sat May 31, 2014 7:40 am

It is located under "Accessories":
1058854a32e9c5e.png
labelled "Simple Backup"
Main desktop: Debian GNU/Linux Jessie 64bit - MATE
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox

cbjohnson
Level 1
Level 1
Posts: 3
Joined: Fri May 30, 2014 5:21 pm

Re: quick and easy backup solution

Post by cbjohnson » Sat May 31, 2014 10:03 pm

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.

User avatar
eanfrid
Level 7
Level 7
Posts: 1859
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: quick and easy backup solution

Post by eanfrid » Sun Jun 01, 2014 2:36 am

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.
Main desktop: Debian GNU/Linux Jessie 64bit - MATE
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox

cbjohnson
Level 1
Level 1
Posts: 3
Joined: Fri May 30, 2014 5:21 pm

Re: quick and easy backup solution

Post by cbjohnson » Sun Jun 01, 2014 7:01 pm

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...

cryptotheslow
Level 1
Level 1
Posts: 29
Joined: Thu Mar 14, 2013 6:30 pm

Re: quick and easy backup solution

Post by cryptotheslow » Sun Jun 01, 2014 10:00 pm

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:

User avatar
Pierre
Level 19
Level 19
Posts: 9267
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: quick and easy backup solution

Post by Pierre » Mon Jun 02, 2014 2:33 am

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.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
eanfrid
Level 7
Level 7
Posts: 1859
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: quick and easy backup solution

Post by eanfrid » Mon Jun 02, 2014 3:17 am

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.
Main desktop: Debian GNU/Linux Jessie 64bit - MATE
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox

User avatar
JayBird707
Level 3
Level 3
Posts: 112
Joined: Sat Jan 30, 2016 9:56 pm

Re: quick and easy backup solution

Post by JayBird707 » Sun Sep 09, 2018 5:45 pm

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.
Dell Studio 1737 Laptop: HP6300 SFF Desktop: HP8000 USFF Desktop: Intel NUC NUC7CJYH Mini All on Linux Mint!
Image

Post Reply

Return to “Newbie Questions”