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-05-31 23:29:00

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

Rsnapshot for local and remote backup

Hi,

I knew rsnapshot from Ubuntu and it does an excellent and stable job on a remote machine I'm running. Therefore I wanted to install it also on my DNS box. Although it is a perl script (you will need perl to be installed to run it), one had to adjust some parameters and function calls to one tool (busybox is not fully compliant to the GNU tools - unfortunately).

Anyhow, please find attached rsnapshot in version 1.3.0 to this post.

Enjoy!
marinalink


Attachments:
Attachment Icon rsnapshot-1.3.0-ffp05.tgz, Size: 65,873 bytes, Downloads: 894

Offline

 

#2 2008-06-01 07:18:49

Klipsch
Member
Registered: 2008-05-29
Posts: 10

Re: Rsnapshot for local and remote backup

Where can I get Perl from and how would I install it?

Offline

 

#3 2008-06-01 11:34:47

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

Re: Rsnapshot for local and remote backup

I'm using ffp 0.5 from fonz http://www.inreto.de/dns323/fun-plug/.

You can install the perl version by typing

Code:

funpkg -i perl-5.8.8-2.tgz

marinalink

Last edited by marinalink (2008-06-01 11:34:58)

Offline

 

#4 2008-06-02 09:01:40

Klipsch
Member
Registered: 2008-05-29
Posts: 10

Re: Rsnapshot for local and remote backup

Thanks! I got it installed and hopefully runs sucessufully tonight.  What time is the backup schedeled to run on the sample you provided? I know you can check the crontab schedule, I cant rem the command to check it.  Thanks again for this great tool!

Offline

 

#5 2008-06-02 09:29:38

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

Re: Rsnapshot for local and remote backup

To check the crontab type: crontab -l

The schedule is between 3:10 (monthly), 3:20 (weekly) and 3:30 (daily).

marinalink

Offline

 

#6 2008-09-06 21:20:41

Priet
Member
Registered: 2008-07-21
Posts: 12

Re: Rsnapshot for local and remote backup

I noticed there's a new version out: 1.3.1. Would you be kind enough to make an updated packages?

Changelog:

VERSION 1.3.1  (??? ?? 2008)
------------------------------------------------------------------------------
- Include rsnapshot-copy script written by Matt McCutchen.
- Allow `backticks` in include_conf.
- Apply fix-sync_first-rollback.diff patch from Matt McCutchen (02 Apr 2008).
- hopefully fix bug with link_dest not being used on second and later backups
  when you have link_dest 1 and sync_first 1. (Ignore $sync_dir_was_present)
- Patch from Adam Greenbaum to allow passing of ssh arguments correctly.
- David Grant added rsync_numtries to rsnapshot.conf.
- Applied Ben Low's Linux LVM patch.
- Added stop_on_stale_lockfile, thanks to Henning Moll.
- Michael Ashley's fix for filter/space problems on the rsync command line.
- Remove trailing whitespace from command names in rsnapshot.conf.
- Warn about extra spaces between tab and argument.
- Added multi-line config options, thanks to Dieter Bloms.
- The 'interval' config option is now called 'retain'.
- chdir to avoid an obscure bug in some versions of GNU rm.
- Changed use_lazy_deletes option to use _delete.$$ directories.
- Added note about -H and hard links to docs for rsync_short_args.
- Include rsnapshot-diff.1 in rpm.
- Fix bug with rsnapshot sync the first time (when .sync does not exist)
  trying to copy hourly.0 to .sync, even if hourly.0 doesn't exist.
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413439

Thanks!!!

Offline

 

#7 2008-09-07 14:49:54

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

Re: Rsnapshot for local and remote backup

Does it fix anything specific, which you need? Otherwise its a bit of a mess to make it run on the DNS323. Have done it a few month ago and to be honest, I don't what you have to adapt in the sources, so that it runs on the DNS. You can't "just" compile it for the DNS...

If you want, you can have a look at the sources.

Offline

 

#8 2008-09-07 18:32:03

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Rsnapshot for local and remote backup

rsnapshot 1.3.1 ipk is in optware feed.
See http://www.nslu2-linux.org/wiki/Optware/Dns323 on how to setup.

Offline

 

#9 2008-09-12 16:32:56

Priet
Member
Registered: 2008-07-21
Posts: 12

Re: Rsnapshot for local and remote backup

Ok thx, I'll give it a try smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB