I am wanting to write a bash script to manage backing up important directories on a newly established Ubuntu Server. I do not need to backup the whole system, and really only care about backing up the software running on the server as well as log files.
I was thinking of having a directory, called to-backup
or similar, which would contain symlinks to each folder / file I want to backup.
From there, I could rsync -aL to-backup/* [dest]
to perform the backup.
Is there anything wrong with this approach? I like this approach as I can easily see what I have to backup, and can easily add new folders to this backup as well.