Difference between revisions of "Proxmox Backup Client"
Jump to navigation
Jump to search
(Created page with "= Installation = * <code>wget <nowiki>https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg</nowiki> -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg</code> * <code>vi /etc/apt/sources.list</code> * add in: <syntaxhighlight> # Proxmox Backup Server pbs-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription </syntaxhighlight> * <code>vi /etc/apt/so...") |
|||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{{!}} class="wikitable" style="float: right; width: 322px;" border="2" | |||
{{!}}+ Proven on: | |||
{{!}}- <!-- Debian --> | |||
{{!}} style="text-align: center; width: 60px;" {{!}} [[File:Logo Debian.png{{!}}60px{{!}}link=https://www.debian.org/{{!}}center{{!}}middle{{!}}frameless]] | |||
{{!}} style="text-align: center; width: 40px;" {{!}} 11 (bullseye) | |||
{{!}} | |||
<br> | |||
{{!}}- <!-- LMDE --> | |||
{{!}} style="text-align: center; width: 65.675px;" {{!}} [[File:Logo LMDE.png{{!}}60px{{!}}link=https://linuxmint.com/edition.php?id=279{{!}}center{{!}}middle{{!}}frameless]] | |||
{{!}} 5 | |||
{{!}} | |||
<br> | |||
{{!}}} | |||
Time to see if we can use [[Proxmox Backup Server]] to backup Other machines on the network... | |||
(Spoiler Alert... Yes, yes we can!) | |||
= Installation = | = Installation = | ||
As far as I've been able to determine so far, this can only reliably be done on Debian 11 or better based distros... | |||
* <code>wget <nowiki>https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg</nowiki> -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg</code> | * <code>wget <nowiki>https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg</nowiki> -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg</code> | ||
* <code>vi /etc/apt/sources.list</code> | * <code>vi /etc/apt/sources.list</code> | ||
* add in: | * add in: | ||
<syntaxhighlight> | <syntaxhighlight lang="INI"> | ||
# Proxmox Backup Server pbs-no-subscription repository provided by proxmox.com, | # Proxmox Backup Server pbs-no-subscription repository provided by proxmox.com, | ||
# NOT recommended for production use | # NOT recommended for production use | ||
Line 11: | Line 30: | ||
* <code>vi /etc/apt/sources.list.d/pbs-client.list</code> | * <code>vi /etc/apt/sources.list.d/pbs-client.list</code> | ||
* add in: | * add in: | ||
<syntaxhighlight> | <syntaxhighlight lang="INI"> | ||
deb http://download.proxmox.com/debian/pbs-client bullseye main | deb http://download.proxmox.com/debian/pbs-client bullseye main | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* <code>apt update</code> | * <code>apt update</code> | ||
* <code>apt-get install proxmox-backup-client</code> | * <code>apt-get install proxmox-backup-client</code> | ||
= Backup Client Usage = | |||
[https://pbs.proxmox.com/docs/backup-client.html# Source] | |||
[https://ostechnix.com/use-proxmox-backup-client-to-backup-files/ How To Use Proxmox Backup Client To Backup Files In Linux] | |||
[https://pbs.proxmox.com/docs/backup-client.html#excluding-files-directories-from-a-backup Excluding Files/Directories from a Backup] | |||
== Backing up random machines with proxmox-backup-client installed == | |||
=== Complete Machine === | |||
* <code>sudo proxmox-backup-client backup TOTAL.pxar:/ --repository SchizoPoop.TinkerNet.ca:Other</code> | |||
=== Configuration === | |||
* <code>sudo proxmox-backup-client backup ETC.pxar:/etc --repository SchizoPoop.TinkerNet.ca:Other</code> | |||
=== All Users === | |||
* <code>sudo proxmox-backup-client backup USERS.pxar:/home --repository SchizoPoop.TinkerNet.ca:Other</code> | |||
=== Individual User === | |||
* <code>sudo proxmox-backup-client backup USERNAME.pxar:/home/'''username''' --repository SchizoPoop.TinkerNet.ca:Other</code> | |||
= Oddities & such = | |||
== During Install: == | |||
For some bizarre reason, the following errors happen during '''apt update''' on '''LMDE''':<pre> | |||
N: Skipping acquire of configured file 'pbs-no-subscription/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs bullseye InRelease' doesn't support architecture 'i386' | |||
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs-client bullseye InRelease' doesn't support architecture 'i386' | |||
</pre> | |||
But, apparently, they don't mean anything... | |||
== During a run: == | |||
<pre>storing login ticket failed: $XDG_RUNTIME_DIR must be set</pre> | |||
Apparently, it's a ''[https://forum.proxmox.com/threads/storing-login-ticket-failed-xdg_runtime_dir-must-be-set.121473/ harmless bug]''... | |||
<pre>Error downloading .didx from previous manifest: Unable to open dynamic index "/mnt/datastore/Other/host/NaToth/2023-04-20T17:53:42Z/TINKER.pxar.didx" - No such file or directory (os error 2)</pre> | |||
Happens first time you backup a particular dataset... (another "harmless bug"...) | |||
== During a run that subsequently fails: == | |||
Ends with: | |||
<pre>catalog upload error - channel closed | |||
Error: detected chunk with wrong digest.</pre> | |||
WTF? BBQ? | |||
Happens multiple times, then goes away & backup works. No luck finding answers online so far. |
Latest revision as of 23:52, 29 April 2023
11 (bullseye) |
| |
5 |
|
Time to see if we can use Proxmox Backup Server to backup Other machines on the network...
(Spoiler Alert... Yes, yes we can!)
Installation
As far as I've been able to determine so far, this can only reliably be done on Debian 11 or better based distros...
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
vi /etc/apt/sources.list
- add in:
# Proxmox Backup Server pbs-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
vi /etc/apt/sources.list.d/pbs-client.list
- add in:
deb http://download.proxmox.com/debian/pbs-client bullseye main
apt update
apt-get install proxmox-backup-client
Backup Client Usage
How To Use Proxmox Backup Client To Backup Files In Linux
Excluding Files/Directories from a Backup
Backing up random machines with proxmox-backup-client installed
Complete Machine
sudo proxmox-backup-client backup TOTAL.pxar:/ --repository SchizoPoop.TinkerNet.ca:Other
Configuration
sudo proxmox-backup-client backup ETC.pxar:/etc --repository SchizoPoop.TinkerNet.ca:Other
All Users
sudo proxmox-backup-client backup USERS.pxar:/home --repository SchizoPoop.TinkerNet.ca:Other
Individual User
sudo proxmox-backup-client backup USERNAME.pxar:/home/username --repository SchizoPoop.TinkerNet.ca:Other
Oddities & such
During Install:
For some bizarre reason, the following errors happen during apt update on LMDE:
N: Skipping acquire of configured file 'pbs-no-subscription/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs bullseye InRelease' doesn't support architecture 'i386' N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://download.proxmox.com/debian/pbs-client bullseye InRelease' doesn't support architecture 'i386'
But, apparently, they don't mean anything...
During a run:
storing login ticket failed: $XDG_RUNTIME_DIR must be set
Apparently, it's a harmless bug...
Error downloading .didx from previous manifest: Unable to open dynamic index "/mnt/datastore/Other/host/NaToth/2023-04-20T17:53:42Z/TINKER.pxar.didx" - No such file or directory (os error 2)
Happens first time you backup a particular dataset... (another "harmless bug"...)
During a run that subsequently fails:
Ends with:
catalog upload error - channel closed Error: detected chunk with wrong digest.
WTF? BBQ?
Happens multiple times, then goes away & backup works. No luck finding answers online so far.