Backup local folder

jdsysadmin

Member
Jul 21, 2020
6
3
23
26
Hello
I was wondering, if i create a PBS server that has a local folder, lets say /opt/somefolder, how do i backup that folder to tape?

Is still a local datastore needed and will that require double the available space (/opt/somefolder + /mnt/datastorage)?
And if so, how would /opt/somefolder files and folders be included in the backup?
Would i need to run proxmox-backup-client on inside the server itself to create the backup from /opt/somefolder to /mnt/datastorage?

I'm a bit confused.

Thank you very much
 
It requires a datastore to hold backups, whether they are for virtual machines, containers, or file-based backups. The datastore can be either local (on the same server) or external (remote storage like S3, NFS, etc.).
 
So in this case, even internally in the PBS server, it would be necessary run proxmox-backup-client to create the backup from /opt/somefolder to /mnt/datastorage?
 
It requires a datastore to hold backups, whether they are for virtual machines, containers, or file-based backups. The datastore can be either local (on the same server) or external (remote storage like S3, NFS, etc.).
It should be noted though that remote storage isn't supported at the moment. Of course one could setup a NFS (since PBS is basically a Debian + Proxmox Software + customized Ubuntu Kernel) storage but due to the amount of small files in PBS data stores the performance won't be great.
Backup to cloud like S3 is not supported at all. Some people created scripts which uses FUSEs to do S3 backups non the less but these kind of hacks is nothing I would use in production.
Concerning your original question: Yes PBS always need to have the data in a datastore before writing the data to a tape (think of tape as cold storage compared to the datastore as hot storage): https://pbs.proxmox.com/docs/tape-backup.html

Personally I woudn't use PBS to backup PBS since I would need a running PBS to restore it's backup which is a kind of chicken-egg-situation.
 
  • Like
Reactions: Magnus-mercer
It should be noted though that remote storage isn't supported at the moment. Of course one could setup a NFS (since PBS is basically a Debian + Proxmox Software + customized Ubuntu Kernel) storage but due to the amount of small files in PBS data stores the performance won't be great.
Backup to cloud like S3 is not supported at all. Some people created scripts which uses FUSEs to do S3 backups non the less but these kind of hacks is nothing I would use in production.
Concerning your original question: Yes PBS always need to have the data in a datastore before writing the data to a tape (think of tape as cold storage compared to the datastore as hot storage): https://pbs.proxmox.com/docs/tape-backup.html

Personally I woudn't use PBS to backup PBS since I would need a running PBS to restore it's backup which is a kind of chicken-egg-situation.
Thank you for the update! I have already used other software to back up my data to S3.