Backing home data into an external drive


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

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

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *