LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to run rsnapshot to backup home directory? (https://www.linuxquestions.org/questions/slackware-14/how-to-run-rsnapshot-to-backup-home-directory-803942/)

cola 04-24-2010 09:34 AM

How to run rsnapshot to backup home directory?
 
I have installed rsnapshot from slackbuilds.
rsnapshot.conf
Code:

config_version  1.2
snapshot_root  /.snapshots/
cmd_rm      /usr/bin/rm
cmd_rsync  /usr/bin/rsync
cmd_logger  /usr/bin/logger
interval    hourly  6
interval    daily  7
interval    weekly  4
verbose    2
loglevel    3
lockfile    /var/run/rsnapshot.pid
backup  /home/      localhost/

How to run it to backup home directory?
I'm also reading the official docs.

cola 04-24-2010 09:39 AM

Is this correct?
Code:

rsnapshot hourly

choogendyk 04-24-2010 01:59 PM

You could check out http://rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html.

Did you set up your configuration and then try `rsnapshot configtest`?

Then you can do it one time as you indicated in your second post, or you can automate it as in step 5 of the HOWTO linked above.

Alien Bob 04-24-2010 02:40 PM

Perhaps these two articles will help you a bit (I am using them myself right now as a reference to re-install my rsnapshot server after its OS disk died... mighty glad now that I wrote it down back then):

http://alien.slackbook.org/dokuwiki/...inux:rsnapshot
http://alien.slackbook.org/dokuwiki/...?id=linux:slug

Eric


All times are GMT -5. The time now is 04:28 PM.