[SOLVED] host mode - proxmox-backup-client backup how to include all mounted directories

RobFantini

Famous Member
May 24, 2012
2,042
109
133
Boston,Mass
when i did this:
Code:
proxmox-backup-client backup root.pxar:/bkup  root.pxar:/

other disk mounted filesystem /bkup was not included.

how do I backup multiple filesystems at the same time?

this did not work
Code:
proxmox-backup-client backup root.pxar:/bkup  root.pxar:/
 
will try this:
Code:
proxmox-backup-client backup root.pxar:/bkup /

no luck:
Code:
Error: parameter verification errors

parameter 'backupspec': value does not match the regex pattern

Usage: proxmox-backup-client {<backupspec>} [OPTIONS]
 <backupspec> <array>
             List of backup source specifications ([<label.ext>:<path>] ...)
..
 
trying
Code:
proxmox-backup-client backup root.pxar:/  bkup.pxar:/bkup

may be OK, will post back if not:
Code:
Starting backup: host/rsnapshot/2020-07-21T23:48:27Z
Client name: rsnapshot
Starting protocol: 2020-07-21T19:48:27-04:00
Upload directory '/' to 'BackupRepository { user: Some("pbs-user@pbs"), host: Some("10.1.10.80"), store: "rsnap-test" }' as root.pxar.didx
root.pxar.didx: Uploaded 3105310897 bytes as 735 chunks in 28 seconds (102 MB/s).
root.pxar.didx: Average chunk size was 4224912 bytes.
root.pxar.didx: Time per request: 39183 microseconds.
Upload directory '/bkup' to 'BackupRepository { user: Some("pbs-user@pbs"), host: Some("10.1.10.80"), store: "rsnap-test" }' as bkup.pxar.didx
 
that almost worked. for some reason /bkup only had 5%+- of its files backed up.

however I did not see an error:
Code:
Starting backup: host/rsnapshot/2020-07-21T23:48:27Z
Client name: rsnapshot
Starting protocol: 2020-07-21T19:48:27-04:00
Upload directory '/' to 'BackupRepository { user: Some("pbs-user@pbs"), host: Some("10.1.10.80"), store: "rsnap-test" }' as root.pxar.didx
root.pxar.didx: Uploaded 3105310897 bytes as 735 chunks in 28 seconds (102 MB/s).
root.pxar.didx: Average chunk size was 4224912 bytes.
root.pxar.didx: Time per request: 39183 microseconds.
Upload directory '/bkup' to 'BackupRepository { user: Some("pbs-user@pbs"), host: Some("10.1.10.80"), store: "rsnap-test" }' as bkup.pxar.didx
bkup.pxar.didx: Uploaded 18374095150 bytes as 4216 chunks in 414 seconds (42 MB/s).
bkup.pxar.didx: Average chunk size was 4358181 bytes.
bkup.pxar.didx: Time per request: 98425 microseconds.
catalog.pcat1.didx: Uploaded 47876799 bytes as 93 chunks in 444 seconds (0 MB/s).
catalog.pcat1.didx: Average chunk size was 514804 bytes.
catalog.pcat1.didx: Time per request: 4774494 microseconds.
Upload index.json to 'BackupRepository { user: Some("pbs-user@pbs"), host: Some("10.1.10.80"), store: "rsnap-test" }'
Duration: PT444.056088087S
End Time: 2020-07-21T19:55:51-04:00

is there a way to get debugging output when that command is run? I'l post more info on the failled backup tomorrow.
 
how do I backup multiple filesystems at the same time?

See: proxmox-backup-client help backup

Key is the --include-dev option, which you can pass multiple times.

proxmox-backup-client backup root.pxar:/ bkup.pxar:/bkup

That should also work but you'll get two archives - can be OK but it's different from the use of "include-dev", which produces one archive.
 
  • Like
Reactions: RobFantini