Dale
2023-10-21 02:30:01 UTC
Howdy,
As most know, I had to restore from backups recently. I also reworked
my NAS box. I'm doing my first backup given that I have more files that
need to be added to the backups. When I started the rsync, it's
starting from the first file and updating each file as it goes as if all
of them changed. Given that likely 95% of the files hasn't changed, I
figure this is being done because of a time stamp or something. Is
there a way to tell rsync to ignore the time stamp or something or if
the files are the same size, just update the time stamp? Is there a way
to just update the time stamps on the NAS box? Is there a option I
haven't thought of to work around this?
This is the old command I was using to create the backups.
time rsync -uivr --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
I tried these to try to get around it.
time rsync -ivr --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
time rsync -ar --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
time rsync -a --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
I looked at the man page and the options there. I don't see anything
that I think will help. Is there a way around this?
Second problem. The transfer speed is back to the old slower speed.
I'm pretty sure I am using the same old options on both ends. Still,
it's back to being slow again. Some info:
nas / # mount | grep backup
/dev/mapper/backup on /mnt/backup type ext4 (rw,relatime)
nas / # cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/mnt/backup/ *(rw,async,no_subtree_check)
nas / #
***@fireball / # mount | grep backup
10.0.0.5:/mnt/backup on /mnt/Backup type nfs4
(rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,nocto,proto=tcp,nconnect=4,timeo=600,retrans=2,sec=sys,clientaddr=10.0.0.2,local_lock=none,addr=10.0.0.5)
***@fireball / #
Did I miss something? Typo maybe? I'm pretty sure I used copy and
paste but still.
Thanks.
Dale
:-) :-)
As most know, I had to restore from backups recently. I also reworked
my NAS box. I'm doing my first backup given that I have more files that
need to be added to the backups. When I started the rsync, it's
starting from the first file and updating each file as it goes as if all
of them changed. Given that likely 95% of the files hasn't changed, I
figure this is being done because of a time stamp or something. Is
there a way to tell rsync to ignore the time stamp or something or if
the files are the same size, just update the time stamp? Is there a way
to just update the time stamps on the NAS box? Is there a option I
haven't thought of to work around this?
This is the old command I was using to create the backups.
time rsync -uivr --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
I tried these to try to get around it.
time rsync -ivr --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
time rsync -ar --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
time rsync -a --progress --delete /home/dale/Desktop/Crypt/TV_Series
/mnt/TV_Backup/
I looked at the man page and the options there. I don't see anything
that I think will help. Is there a way around this?
Second problem. The transfer speed is back to the old slower speed.
I'm pretty sure I am using the same old options on both ends. Still,
it's back to being slow again. Some info:
nas / # mount | grep backup
/dev/mapper/backup on /mnt/backup type ext4 (rw,relatime)
nas / # cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/mnt/backup/ *(rw,async,no_subtree_check)
nas / #
***@fireball / # mount | grep backup
10.0.0.5:/mnt/backup on /mnt/Backup type nfs4
(rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,nocto,proto=tcp,nconnect=4,timeo=600,retrans=2,sec=sys,clientaddr=10.0.0.2,local_lock=none,addr=10.0.0.5)
***@fireball / #
Did I miss something? Typo maybe? I'm pretty sure I used copy and
paste but still.
Thanks.
Dale
:-) :-)