Backing home data into an external drive

Backup is good to be performed regularly .

But when come to practice.. tend to missed out.

Hence.. i think after 6month since last backup.

rsync -avr /home/namran/* /media/disk-2/home/namran

but the result was something like this..

sent 54270661492 bytes  received 8031667 bytes  13605387.43 bytes/sec
total size is 60171025862  speedup is 1.11
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7]

now which files got NOT transferred?
1GB worth of data missing ?

Hmm..probably the one with “root” level files.. which is probably not needed
or might just need clean up only.

find /home/namran/Desktop -mtime +90 -exec rm {}\;

to delete files that had not been modified since last 90days.
or

find /home/namran/Download -atime +90 -exec rm {}\;

to delete files that had not been accessed since last 90days.

p/s : wondering what will be removed.. ?
try this ..

find /home/namran/Desktop -mtime +90 -exec echo {} \;

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

One Response

  1. Its not my first time to visit this web site, i am visiting this site dailly and take pleasant facts from here every day.

    Reply

Anything to add?

X