Hi,
I am creating a bash script with rsync to move data from a proxmox_node to a NAS. Which directories are the most important, and which ones can I ignore?
Thanks for your help.
Please find the rsync command attached below:
sudo rsync -aA \
--exclude={"/mnt/pve/backups/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/var/lib/vz/*","/var/log/old_logs/*","/var/tmp/*","/var/lib/lxcfs/proc/*"} \
/ "$backup_dir/$backup_subdir"
I am creating a bash script with rsync to move data from a proxmox_node to a NAS. Which directories are the most important, and which ones can I ignore?
Thanks for your help.
Please find the rsync command attached below:
sudo rsync -aA \
--exclude={"/mnt/pve/backups/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/var/lib/vz/*","/var/log/old_logs/*","/var/tmp/*","/var/lib/lxcfs/proc/*"} \
/ "$backup_dir/$backup_subdir"