DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-07-03 07:04:31

newbie2
Member
Registered: 2008-05-15
Posts: 13

setup help for Rsnapshot

I have installed funplugs 0.5 with perl package. I am trying to install rsnapshot in an attempt to solve my back problem. see link  http://dns323.kood.org/forum/t2510-Rsyn … -help.html


for installing I did the following rsnapshot from the following links from marinalink:

http://dns323.kood.org/forum/t2348-Rsna … ackup.html <-- contains rsnapshot-1.3.0-ffp05.tgz
1. copied file to package directory from funplug
2. executed funpkg -i rsnapshot-1.3.0-ffp05.tgz
3. copied rsnapshot.conf.default and moved/renamed it to /ffp/etc/rsnapshot.conf
   
this never worked so I ended up testing marinalink rsnapshot.conf coping it modifing the path line.
http://dns323.kood.org/forum/t2349-Shor … ckups.html <-- contains rsnapshot.conf

I have create a test directory /mnt/HD_a2/FTP/Test as I want to see how rsnapshot handles a small truecrypt file.
however I can not get it to back-up I see this on the command line but no data was transfered into .snaphot directory.

-------------------------- command line--------------------------------
/mnt/HD_a2/packages # rsnapshot monthly
Setting locale to POSIX "C"
echo 1996 > /var/run/rsnapshot.pid
/mnt/HD_b2/B-test/.snapshots/monthly.2 not present (yet), nothing to delete
/mnt/HD_b2/B-test/.snapshots/monthly.1 not present (yet), nothing to rotate
/mnt/HD_b2/B-test/.snapshots/monthly.0 not present (yet), nothing to rotate
/mnt/HD_b2/B-test/.snapshots/weekly.3 not present (yet), nothing to copy
rm -f /var/run/rsnapshot.pid
/ffp/bin/logger -p user.info -t rsnapshot /ffp/bin/rsnapshot monthly: \
    completed successfully
--------------------------------------------------------
I am attaching my modified  rsnapshot.conf  and below placing my output log file

Any help would be appreciated.
Newbie2

--------------- output log file-------------------
02/Jul/2008:22:39:40] /ffp/bin/rsnapshot monthly: started
[02/Jul/2008:22:39:40] Setting locale to POSIX "C"
[02/Jul/2008:22:39:40] echo 1996 > /var/run/rsnapshot.pid
[02/Jul/2008:22:39:40] /mnt/HD_b2/B-test/.snapshots/monthly.2 not present (yet), nothing to delete
[02/Jul/2008:22:39:40] /mnt/HD_b2/B-test/.snapshots/monthly.1 not present (yet), nothing to rotate
[02/Jul/2008:22:39:40] /mnt/HD_b2/B-test/.snapshots/monthly.0 not present (yet), nothing to rotate
[02/Jul/2008:22:39:40] /mnt/HD_b2/B-test/.snapshots/weekly.3 not present (yet), nothing to copy
[02/Jul/2008:22:39:40] rm -f /var/run/rsnapshot.pid
[02/Jul/2008:22:39:40] /ffp/bin/logger -p user.info -t rsnapshot /ffp/bin/rsnapshot monthly: completed successfully
[02/Jul/2008:22:39:40] /ffp/bin/rsnapshot monthly: completed successfully
--------------- end of output log file-------------------

Last edited by newbie2 (2008-07-03 07:21:32)


Attachments:
Attachment Icon rsnapshot.conf, Size: 7,149 bytes, Downloads: 345

Offline

 

#2 2008-07-03 10:53:30

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: setup help for Rsnapshot

I assume that you have two volumes setup on your DNS.

I.e there is a /mnt/HD_b2 and a /mnt/HD_a2

Offline

 

#3 2008-07-04 17:33:48

quekky
Member
Registered: 2008-03-30
Posts: 20

Re: setup help for Rsnapshot

Have you read the howto?

You'll need to run the lower interval 1st for the snapshots to be created, once the lower interval have reached the max, the next higher snapshot will be created

Offline

 

#4 2008-07-05 01:13:33

marinalink
Member
Registered: 2008-04-13
Posts: 56

Re: setup help for Rsnapshot

@quekky:
You are absolutely correct.

First run daily, this should work. If you execited daily for 7 times, then a weekly will run through, copying it to weekly.0 etc.

Offline

 

#5 2008-07-06 06:06:19

newbie2
Member
Registered: 2008-05-15
Posts: 13

Re: setup help for Rsnapshot

Thanks everyone for the help. I did not realize the order mattered.  I was able to get rsnapshot to work  Also I needed to add the following to the rsnapshot.conf

rsync_short_args    -aivxc   <---- Main part is the c option which enables checksums
this allows rsync to detect a change in a truecrypt volume.

rsync_long_args    --delete --no-whole-file --numeric-ids --relative --delete-excluded   <--- the key here was to add --no-whole-file. This forces rsync to use delta-transmission.

lastly I have done some experiments which shows entropy for the truecrypt volume is to complex for rsync
which i read about but had to see for my self sad .  So I need to rethink my backup strategies and making these volumes smaller( currently two 150GB volumes) or forgo the encryption.

Again thanks for the help.
Newbie2

Last edited by newbie2 (2008-07-06 16:13:37)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB