Howdy,
I was doing a backup update and noticed a directory I didn't like the
name of, forgot to change it before starting the back up. So, I stopped
the backup and changed the name, which is similar to removing it from
the perspective of the backup. I then started the backup command again
and noticed it did not delete the old directory name which is no longer
on the source. It did however copy the new directory. I had to delete
the old directory manually. To test this, I copied a directory with a
new name, added "-1" to the end. I updated the backup which added the
directory with -1 as expected. When it was done, I deleted the
directory with the -1 from the source and ran the command again. It did
not delete the directory I removed as expected on the backup/target.
I do this quite often with files and it seems to work as I expect. If I
change the name of a file, it removes the file with old name, copies
over the file with the new name and moves on. I've done that more times
than I care to count. Why is a directory different? Do I need to add a
option? This is a example command but most all of them are the same
just the source/target directories change.
time rsync -auv --progress --delete /home/dale/Desktop/Crypt/Video/*
/mnt/10tb/Video/
I've tried removing the -u, adding --force but no change. Basically, if
I remove a directory on the source, how do I get it to remove the same
on the backup/target? I went through the options on the man page and
nothing hit me as a fix. What am I missing?
Also, I'm about to order a new hard drive. I checked and my power
supply cables do have the 3.3v wire for SATA power connectors. I plan
to buy a hard drive, either a 12TB or 14TB. Is there a easy way to know
if it has that pin that disables the drive before I buy? Most have
pictures of the drives. I guess I could ask them but that would delay
my ordering. I tried google. I don't see a list of drive that have or
don't have this. After some other searching. I did find some manuals
for drives I'm looking at buying. If it lists pin 1 through 3 as 3.3v,
is it the old way, works when plugged in? If it says PW DIS or reserved
for pin 3, then it is new and will stay off when plugged in? Am I
getting this right? Close even? lol
Thanks.
Dale
:-) :-)
I was doing a backup update and noticed a directory I didn't like the
name of, forgot to change it before starting the back up. So, I stopped
the backup and changed the name, which is similar to removing it from
the perspective of the backup. I then started the backup command again
and noticed it did not delete the old directory name which is no longer
on the source. It did however copy the new directory. I had to delete
the old directory manually. To test this, I copied a directory with a
new name, added "-1" to the end. I updated the backup which added the
directory with -1 as expected. When it was done, I deleted the
directory with the -1 from the source and ran the command again. It did
not delete the directory I removed as expected on the backup/target.
I do this quite often with files and it seems to work as I expect. If I
change the name of a file, it removes the file with old name, copies
over the file with the new name and moves on. I've done that more times
than I care to count. Why is a directory different? Do I need to add a
option? This is a example command but most all of them are the same
just the source/target directories change.
time rsync -auv --progress --delete /home/dale/Desktop/Crypt/Video/*
/mnt/10tb/Video/
I've tried removing the -u, adding --force but no change. Basically, if
I remove a directory on the source, how do I get it to remove the same
on the backup/target? I went through the options on the man page and
nothing hit me as a fix. What am I missing?
Also, I'm about to order a new hard drive. I checked and my power
supply cables do have the 3.3v wire for SATA power connectors. I plan
to buy a hard drive, either a 12TB or 14TB. Is there a easy way to know
if it has that pin that disables the drive before I buy? Most have
pictures of the drives. I guess I could ask them but that would delay
my ordering. I tried google. I don't see a list of drive that have or
don't have this. After some other searching. I did find some manuals
for drives I'm looking at buying. If it lists pin 1 through 3 as 3.3v,
is it the old way, works when plugged in? If it says PW DIS or reserved
for pin 3, then it is new and will stay off when plugged in? Am I
getting this right? Close even? lol
Thanks.
Dale
:-) :-)