|
Jan 19 |
accepted | how to tell rsync to preserve time stamp on files when source tree has a mounted point |
|
Jan 17 |
comment |
rsync command to backup home tree to another disk well, I posted separate question on this here: unix.stackexchange.com/questions/61586/… and the only reply was basically is that this is how it is supposed to work. Strange. This means I can't use rsync if I have a mounted disk in the source tree and keep time stamps the same as with files that are not on a mounted disk. |
|
Jan 17 |
comment |
how to tell rsync to preserve time stamp on files when source tree has a mounted point I want it to work just like it does on files that are not on the mounted disk. i.e. keep the same time stamp that one sees when doing ls -l on the file. This works on files that are not inside the mount point. But all files that are inside the mount point, have time stamp on them indicating they were just created. Whatever you call this time. I just wanted it to use the same time stamp on the files in the source. Now it does not. I want all time aspects be copied. i.e. a clone of the file be made. creation time, change time, etc... |
|
Jan 17 |
comment |
how to tell rsync to preserve time stamp on files when source tree has a mounted point Thank you. I know that. But please read the question again carefully. I did use -a which says: archive mode; equals -rlptgoD therefor -t is already included. |
|
Jan 17 |
accepted | rsync command to backup home tree to another disk |
|
Jan 17 |
asked | how to tell rsync to preserve time stamp on files when source tree has a mounted point |
|
Jan 17 |
comment |
rsync command to backup home tree to another disk Ok, I can't find an option in rsync for this. This might be a limitation or a bug as it should not happen. I'll post a separate question on this, I think that will be better than follow more on this using this question. |
|
Jan 17 |
comment |
rsync command to backup home tree to another disk OMG! I know why it did that! I have a mounted disk under /home/me at the mount point /home/me/data and when I do rsync -av --delete /home/me/ /home/BACKUP/, then /home/BACKUP/data/ and everything below it DO NOT get the same time stamps in /home/me/data/, but they all get new time stamps. This is becuase /home/me/data is mounted disk actually, which is where my data is. I need a way to preserve time stamps and everything on these as well when I do the rsync. I will look more into it. |
|
Jan 17 |
comment |
rsync command to backup home tree to another disk This is really strange. I just did rsync -av --delete /home/me/ /home/BACKUP/ and ended up with files on /home/BACKUP that all have the same time-stamp which is the time I issues the command above. So the times on the files did not get copied. All files time stamps in the destination indicate these files are created now. Which is not what I want. But according to man, -a includes -t as well. Very strange. I will try again with adding -t as well and see. |
|
Jan 16 |
comment |
Unix on a DEC VAX? you might want to cc this question to comp.os.vms as there are VMS and Vax experts there and old timers who might know as well. |
|
Jan 16 |
comment |
rsync command to backup home tree to another disk OK, sure, you can do that. I myself prefer to have exact copy of the whole tree in both places. One nice thing in Linux, is that one have many options :) (but remember, that it is meant to be a backup disk. So think what will happen if your main disk go bad, and now you want to use your backup disk, then your backup disk will have old files around that did not exist in your disk that just died, and you have now to worry about cleaning things , etc... any way, you choose what is good for you. |
|
Jan 16 |
awarded | Editor |
|
Jan 16 |
revised |
rsync command to backup home tree to another disk clean |
|
Jan 16 |
comment |
rsync command to backup home tree to another disk So that, if the destination, i.e. /home/Backup ends up with a file that no longer exist in /home/nasser/ I want it deleted and not kept there, so that I have exact copy. For example, I could have deleted /home/nasser/test.txt and I want this to be deleted from /home/BACKUP/test.txt as well. |
|
Jan 16 |
awarded | Student |
|
Jan 16 |
asked | rsync command to backup home tree to another disk |
|
Jan 15 |
awarded | Scholar |
|
Jan 15 |
awarded | Supporter |
|
Jan 15 |
accepted | Showing all open apps in all workspaces on the desktop panel for Linux Mint |
|
Jan 14 |
asked | Showing all open apps in all workspaces on the desktop panel for Linux Mint |