


To check your files, just change directory to your 250 gb hd This will grab everything in your home folder, hidden or not. Use NANO if this is your first time using itĮnter: 0 1 * * * rsync -rqa /home/chris/* /media/250GB\ EXT/ to have it sync every day at 1 a.m.

Make sure you add this to Crontab so it syncs automatically. Rsync -rqa /home/chris/* /media/250GB\ EXT/ĭo you notice how I included the Asterisk *, it is a wild-card to copy everything.
Grsync export as rsync script windows#
I use Rsync for everything, I backup my windows servers and unix boxes with rsync to an ubuntu 10.10 server with a buffalo raid 5 storage unit attached. I was just going through this thread and I cant believe how complicated this has become for you. Running it again immediately afterwards recopies a single album. Time rsync -av -delete /home/chris/Music/ /media/250GB\ EXT/Music/re-copies some, but not all albums. Restarting the computer and using command Total size is 17530018152 speedup is 25.61īefore I go any further back into my script, could you possibly let me know whether this is as it should be? Since I had made no changes since my initial backup, this is not what I expected. This made a change to a single album, taking 25 seconds, and when I ran it again it did exactly the same thing. Rsync -av -delete /home/chris/Music/ /media/250GB\ EXT/Music/Īnd got a slightly different result. Total size is 17530018152 speedup is 831910.50įinally, I added the -delete command, since this was suggested for the bash script Rsync -av /home/chris/Music/ /media/250GB\ EXT/Music/ I then used the command that had worked previously on the music files Rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) As expected, this took the usual 20 minutes. To ensure I was working with a fresh backup. Rsync -av -delete /home/chris/ /media/250GB\ EXT/ This happened a couple of times, and then it only resaved a few, but I'd been messing about with the script by that point, so I went back to the command line and started again from scratch with After creating and running the bash script, all my music files were recopied again. Hello, I'm afraid I'm still having difficulties with this. Mikodo - thanks for that also, hopefully I'll get far enough to test it out. Thanks for the help so far - much appreciated! How do I find out (and what does it mean)? My answer is even sillier - I honestly couldn't tell you. I definitely haven't played all the tracks since the original post.Ĥ. I'd expect copying all the music files to take a few minutes, and it does. I'm guessing the music files were copied due to the timescale involved, but that is just a guess. None of the files are unusually large to the best of my knowledge.ģ. I've made very few changes to any of the files since running the original copy, other than to a few text documents, which I wouldn't expect to make a significant difference.Ģ. My understanding is that this should take a few seconds without compression, so I'll leave -z until we've established why the command isn't behaving as expected. I'll leave it to the morning though, since it's getting on a bit here. I have run the command literally twice in a row, but I'd be happy to do this again and post the results. Having sat there and watched it (fun) I noticed that all the music files were copied on both occasions, taking a couple of seconds for each. Both running times were identical - a shade under twenty minutes. I've done that twice, back to back, making no changes to any files in between. Rsync -av /home/chris/ /media/250GB\ EXT/Īnd pasted it into the CLI. I'm afraid I don't know anything about scripts, so I've copied the command line from above: Rsync: symlink "/media/250GB EXT/.wine/dosdevices/z:" -> "/" failed: Operation not permitted (1) Rsync: symlink "/media/250GB EXT/.wine/dosdevices/e::" -> "/dev/sr0" failed: Operation not permitted (1) Rsync: symlink "/media/250GB EXT/.wine/dosdevices/d::" -> "/dev/sdb1" failed: Operation not permitted (1) Rsync: symlink "/media/250GB EXT/.wine/dosdevices/d:" -> "/media/HP v210w" failed: Operation not permitted (1) Rsync: symlink "/media/250GB EXT/.wine/dosdevices/c:" -> "./harddiskvolume0" failed: Operation not permitted (1) Well the error relating to symbolic links looks like it's talking about WINE folders:
