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.

#1 2015-07-31 16:41:12

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

rsync and keep permissions?

Hi,

Having now got my second DNS323 back, I am attempting to backup my first DNS323 to that using rsync.

From research it appears I need to use -a argument

My rsync command is

Code:

/mnt/HD_a2/ffp/bin/rsync -arlptDv --delete 192.168.2.101:/mnt/HD_a2/Backups /mnt/HD_a2/DNS323/ >/mnt/HD_a2/ffp/log/rsync.backups.last.log 2>&1

some data is copied as per source and others not, but I do not know why? Consequently I cannot access the backups in windows.
What do I need to do to keep permissions/settings for all the data please?

Source Data

Code:

drwxrwxrwx    2 nobody   501          4096 Nov  4  2014 Access
drwxrwxrwx    7 nobody   501          4096 Jul 14  2011 Acer
-rwxrwxrwx    1 nobody   501          3010 Nov  2  2010 Belkin ADSL.conf
-rwxrwxrwx    1 nobody   501          4115 Nov  4  2010 Belkin Cable.conf
drwxrwxrwx    6 nobody   501          4096 Aug 24  2010 Celeron
drwxrwxrwx    5 nobody   501          4096 Oct 26  2011 Common
drwxrwxrwx    2 nobody   501          4096 Dec 31  2009 DNS323
-rwxrwxrwx    1 nobody   501     4755232337 Sep  6  2011 Dell8400.tib
drwxrwxrwx    2 nobody   501       1642496 Aug 14  2011 Gmail
drwxrwxrwx    2 nobody   501          4096 Aug 28  2009 HP2500
drwxrwxrwx    2 nobody   501          4096 Oct 26  2010 Keys
drwxrwxrwx    3 nobody   501          4096 Aug 14  2009 Maxdata
-rwxrwxrwx    1 nobody   501     74451690496 Apr  4 18:23 Netbook.tib
-rwxrwxrwx    1 nobody   501        113279 Mar  4  2014 Pauls Dive Log.log
-rwxrwxrwx    1 nobody   501       1197056 Oct 14  2010 RemoveWAT.exe
drwxrwxrwx    2 nobody   501          4096 Jan 19  2015 SPA3102
drwxrwxrwx    6 nobody   501         12288 Jul 30 19:00 SSAFA
-rwxrwxrwx    1 nobody   501           997 Aug 25  2013 TitaniumBackup_license.t
xt
drwxrwxrwx    3 nobody   501          4096 Jun  8  2010 UTAG
drwxrwxrwx    8 nobody   501          4096 Jul 14  2010 UserData
-rwxrwxrwx    1 nobody   501     6327566336 Aug 22  2013 acer08131.tib
-rwxrwxrwx    1 nobody   501     100372599808 Aug 24  2013 acer240813.tib
-rwxrwxrwx    1 nobody   501         16272 Jun 28  2014 settings-2.k9s

Destination Data

Code:

drwxrwxrwx    2 nobody   501          4096 Nov  4  2014 Access
drwxrwxrwx    7 nobody   501          4096 Jul 31 13:41 Acer
-rwxrwxrwx    1 nobody   501          3010 Nov  2  2010 Belkin ADSL.conf
-rwxrwxrwx    1 nobody   501          4115 Nov  4  2010 Belkin Cable.conf
drwx------    2 root     root         4096 Jul 31 13:41 Celeron
drwx------    2 root     root         4096 Jul 31 13:41 Common
drwx------    2 root     root         4096 Jul 31 13:41 DNS323
drwx------    2 root     root         4096 Jul 31 13:41 Gmail
drwx------    2 root     root         4096 Jul 31 13:41 HP2500
drwx------    2 root     root         4096 Jul 31 13:41 Keys
drwx------    2 root     root         4096 Jul 31 13:41 Maxdata
drwx------    2 root     root         4096 Jul 31 13:41 SPA3102
drwx------    2 root     root         4096 Jul 31 13:41 SSAFA
drwx------    2 root     root         4096 Jul 31 13:41 UTAG
drwx------    2 root     root         4096 Jul 31 13:41 UserData

Last edited by gasman (2015-07-31 16:41:37)


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#2 2015-08-02 13:49:18

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: rsync and keep permissions?

Have managed to find the -o and -g options


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB