This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

solution with rsync,

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
hamsaeed
NewUser
NewUser
Posts: 5
Joined: 14 Sep 2015 07:25
Status: Offline

solution with rsync,

Post by hamsaeed »

Hi dear,
can you help me for :
I use rsync for backup files in source folder to another dest folder, and
i want save differences as separately ,that i can restore a spatial difference backup ?

thanks for your help,

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: solution with rsync,

Post by Parkcomm »

NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

hamsaeed
NewUser
NewUser
Posts: 5
Joined: 14 Sep 2015 07:25
Status: Offline

Re: solution with rsync,

Post by hamsaeed »

Hi dear,
thanks for your help,
in continue question,
after build first backup,
i delete many files from source , and i want backup differences in source with first backup in second backup,
what must backup in second backup ?
i when delete files in source and backup due to first backup , in second backup not exist files?

THANKS,

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: solution with rsync,

Post by Parkcomm »

Hey Hamseed - your English is a little challenging, i hope I understand your question.

The incremental backup process uses symlink. Lest say we delete file 3 in the diagram.
Backup 1 will have a symlink to File 3, Running Backup 2 will remove the symlink but the file is still there,

If you go to directory 1 you will see the file backed up.

Does that answer your question?
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

hamsaeed
NewUser
NewUser
Posts: 5
Joined: 14 Sep 2015 07:25
Status: Offline

Re: solution with rsync,

Post by hamsaeed »

very Thanks,
ok, Excuse me friends,
I impact another problem with rsync , and it is:
I need store backup in another filesystem (partition) in system ,
but , when i use --link-dest for backup in rsync that ,it is without losing much space,
output include error :
Invalid cross-device link

I search and found www.areca-backup.org that not have this problem ,
do exist any tool like areca(www.areca-backup.org) , that be in command line mode?

very Thanks for your Help,

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: solution with rsync,

Post by Parkcomm »

files cannot be hardlinked across different filesystems
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

hamsaeed
NewUser
NewUser
Posts: 5
Joined: 14 Sep 2015 07:25
Status: Offline

Re: solution with rsync,

Post by hamsaeed »

ok, do exist another solution?

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: solution with rsync,

Post by Parkcomm »

The solution in the link copies all the files to a single (remote) file system and then hard links on that file system, not across filesystems. IS that what you mean/
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

hamsaeed
NewUser
NewUser
Posts: 5
Joined: 14 Sep 2015 07:25
Status: Offline

Re: solution with rsync,

Post by hamsaeed »

very thanks from your helps,

Post Reply

Return to “RSYNC”