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 2010-05-27 10:02:57

sulan
Member
Registered: 2010-04-02
Posts: 17

Rotating backup disc scheme

First of all I think I have to describe my backup setup so bare with me. I have set up an incremental backup-plan to my DNS-323 with FFP v0.5 (f/w 1.08) using rsync and hard links according to this excellent article (http://dns323.kood.org/howto:backup). I have bought 3 discs that I want to rotate in the following way so that I always have one disc with full backups on an off-site location in case of burglary of fire etc.
Disc A: always mounted at Volume 1 (/mnt/HD_a2)
Disc B: mounted at Volume 2 (/mnt/HD_b2) but rotating with disc C
Disc C: mounted at Volume 2 and rotating with disc B

This way I always make incremental backups to disc A and once a while when vising a trusted friend I bring with me disc B or C, and when going back home I get the other disc from my friends place back home. When at home I plug that disc in as Volume 2.

However, the problem is to make identical copies of disc A to either disc B or C. I have tried using rsync, but the second time I make a backup it makes a full backup again instead of using the great hard link functionality. Anyone that have done something like this that can post a working rsync command?

Thanks in advance.

PS: Before posting this I looked through this rich forum but couldn't find any solution to my problem. DS

Last edited by sulan (2010-05-27 10:55:37)

Offline

 

#2 2010-05-28 00:45:35

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: Rotating backup disc scheme

That is a good plan and I do something similar, but using rsnapshot which does essentially the same thing.

There's not enough information in your post to figure out what is wrong.

What approach are you using from that wiki page you noted?  Are you using snapshot.sh or the simpler rsync also mentioned there?

Perhaps you should post your script or commands so we can see what you are doing.

Does the problem occur when simply using disk A and disk B and you are just trying to do an incremental backup of A to B? (In this case, we don't care about the A, B rotate C information)

Or are you seeing this after you bring disk B back from the friend's house and swap it with C for the first time?

You might also want to inspect the logs for any clues and possibly post any relevant info from them here.

If you are using that snapshot.sh script, I note that it sets dstpath to /mnt/HD_b2/Backup_NAS.  You may have to create the Backup_NAS directory before running the script.  That's the only guess I can make with the info available.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#3 2010-05-30 18:17:12

gunrunnerjohn
Member
Registered: 2010-04-26
Posts: 6

Re: Rotating backup disc scheme

Personally, I think this is a VERY BAD PLAN!  I would not be continually swapping disks into the box.  I'd use a USB drive elsewhere in your network and do periodic backups to that and take it with you.

I use Beyond Compare to sync my backups from my NAS units.  I think it's it's a very bad plan to continually insert and remove the drives, those connectors and the unit were not designed for that.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB