I have one particular folder on my linux box that I would like to have fully backed up and be able to "go back in time" on a file and see all previous revisions.
To add complications, this folder is shared (with the inbuilt sharing tools) and is accessed and written to by a Windows machine. For this reason, I'd like the backup to be written to a place where the windows machine does not have access.
How can I set this up?
Best Answer
Well I use the following script for my backup:
This will save a backup file that looks like this:
In the hidden folder
/home/<USERNAME>/.Backups
The safe.png file that it used for the notifications can be downloaded from here.
Save the script in
/home/<USERNAME>/Scripts
asbackup.sh
Run the following commands:
Then add the command
Scripts/./backup.sh
to the start at login applications. Even if you login more than one time in a day, you only get 1 backup.OR
You could also use cron to run the script regularly. Edit it using
crontab -e
and add this line to the end:My pronouns are He / Him