Ok,how two connect each other by storage
Hi,
In the web-interface, for any VM/CT you have a entry with name "Replication"!
Good luck!
Ok,how two connect each other by storage
move your copy of /etc/pve away:This happenes (if i understood well) because /etc/pve is not empty (probably as it has my setup)
No. Without a backup no restore.
See the github page for details
Can i re-create all VMs and CTs with the script (restore)?
@DerDanilo, I know this is an old post but I see that the backup script was updated a year ago. Will the backup script support configs such as SDN, Ceph (config not data), OVS switch, etc.?I just wrote a bash script to backup required config (quick and dirty). I will finish/adjust the script in future.
You are welcome to collaborate.
https://github.com/DerDanilo/proxmox-stuff
Hope that helps for now. I'd recommend to push the backups to an external storage via scp/sshfs or something.
I will extend the script when I have time for that.
The updates are commits from other contributors.@DerDanilo, I know this is an old post but I see that the backup script was updated a year ago. Will the backup script support configs such as SDN, Ceph (config not data), OVS switch, etc.?
@Lennong please open a PR if you think that your changes are beneficial to others.First, thanks to DerDanilo for the scripts and work! I am doing backups of the PVE installation to PBS but I prefer to shut down my virtual machines when collecting the backup as I have some databases I prefer not be touched by the VM's while taking the backup.
I have added some bits and bobs to for my own needs:
A few other lines had also to be adapted to work over SSH.
- Shutdown only the running VM's
- Wait for the VM's to fully stop before doing the PVE system backup
- Rsync over SSH between PVE and PBS
- Startup only the VM's that was running before
I have only touched the 'prox_config_backup.sh' script. Perhaps someone could find some of my additions useful.
https://github.com/Lennong/proxmox-stuff/blob/master/prox_config_backup.sh
I went a bit further and rewrote the whole thing. Found out about proxmox-backup-client which helps out a great deal. When just throwing up the data we miss out on the dedup features but when using proxmox-backup-client it gets properly recognized by PBS datastore.@Lennong please open a PR if you think that your changes are beneficial to others.