How to backup a data storage (paranoid)

Sasha

Well-Known Member
Oct 18, 2018
88
1
48
Kazahstan
Hi, guys!

I'm novice in PBS and just begin to configure a backups with it.
My current backup scheme is copying vzdumps to separate server.
It's simple and straight and served several years.

PBS is really attractive and amazing but I'm little nervous while think to trust all backups to single database with some chunks...
Does exist a procedure to backup data storage itself and procedute to restore it if problems appears?

Appreciate for any help to all good people.
 
PBS is really attractive and amazing but I'm little nervous while think to trust all backups to single database with some chunks...
Does exist a procedure to backup data storage itself and procedute to restore it if problems appears?
If you care about your data have the 3-2-1 backup rule in mind. So would be a good idea to have another offsite PBS and then make use of sync jobs to sync backup snapshots between the PBS.

A PBS datastore folder is selfcontained. So its possible to back that folder up. In case you lose your PBS you could then set up a new PBS, copy that folder back and reuse it.
 
  • Like
Reactions: Sasha
A PBS datastore folder is selfcontained

Sounds close to perfect! I don't have hardware anymore for PBS, but i can add HDD in PBS server to simplu rsync /datastore to it.

copy that folder back and reuse it.

Would You clarify a process. So i hace Data Store in /backedup
1. Setup PBS
2. Add Data store with folder /datastore
3. Remove everything in folder /datastore by backed up in /backedup folder

Should i stop services or be awared something?

May be more logical is to create /datastore2 on separate local hdd and runs rsync to have it identical to /datastore2 ?
 
Last edited:
Importing the datastore has to be done manually by editing the /etc/proxmox-backup/datastore.cfg as the PBS webUI isn't offering importing of existing datastores yet.
Woud be a good idea to also backup your "/etc" folder, especially "/etc/proxmox-backup" to have a copy of your config files.
 
Sounds close to perfect! I don't have hardware anymore for PBS, but i can add HDD in PBS server to simplu rsync /datastore to it.
Better rsync that datastore folder to a USB HDD and store that USB HDD offsite. Otherwise you are really screwed in case of fire, lightning, theft, water damage, short-circuits, ... . Or do some additional VZDump backups once a month to that USB HDD you store offsite. Then you don't have to put all your bets on a single horse.
 
Last edited:
  • Like
Reactions: Sasha

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!