54f31b76106f972d5acee5b8ee1b4908a527a2be
Dated_Folder_Backup
This is a command line bash script with arguments used to compress a folder and store it in given location with a specific system user owner. It uses Bzip2 compression, this can be used in any situation you desire, for example you can use it on a daily cronjob to backup your website folder. Run it with sudo or has root like:
sudo bash backing.sh [file_name] [destination] [source] [owner].
For example:
sudo bash backing.sh mywebsite /home/ricardo/backups /var/www/mywebsite ricardo
Description
This is a command line bash script with arguments used to compress a folder and store it in given location with a specific system user owner.
It uses Bzip2 compression.
Languages
Shell
100%