Backing home data into an external drive

Tags: , ,
Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

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 {} \;
Sharing is caring
Sharing is caring

About Namran Hussin

a soft spoken guy... with exceptional interest in computers and technology. I love to learn new thing and also love to break thing for the sake of learning.. but I do abide to the self-imposed limitation or certain thing such as social thing in life, thing can be done and thing that must be avoided at whatever cost such as drug,illegal tracking, smoke,illicit activity..etc.muahahaha let's share what we had in this short term of the life.! make it worth of the living.~

%d bloggers like this: