I’ve been reading about taking backups via command line.
I want to take nightly backups and some kind of rotation. I didn’t see any documentation about how to do this.
I guese I need to write a custom script to do this. Does anyone have any suggestions.
If that is run nightly I guese I will eventually run out of hard disk space. So I need to keep say 30 and delete the oldest each time. Can anyone suggest a good way to do that?
As for the rest, do a search of the foums. There are many people here who have scheduled rysynk backups to automatically remove the old backups and you can probably “borrow” code from one of those.