--all-file-systems shouldn't backup /run

Nov 16, 2022
105
12
18
Sweden
Bash:
Starting backup: host/xps9310/2024-05-04T09:18:07Z
Client name: xps9310
Starting backup protocol: Sat May  4 11:18:07 2024
storing login ticket failed: $XDG_RUNTIME_DIR must be set
No previous manifest available.
Upload directory '/' to '192.168.99.99:HOSTS' as root.pxar.didx
skipping mount point: "dev/hugepages"
skipping mount point: "dev/mqueue"
skipping mount point: "dev/pts"
skipping mount point: "proc"
catalog upload error - channel closed
Error: error at "run/user/1000": stat failed on "run/user/1000/gvfs": EACCES: Permission denied
storing login ticket failed: $XDG_RUNTIME_DIR must be set

Error: error at "run/user/1000": stat failed on "run/user/1000/gvfs": EACCES: Permission denied

I don't know if this is the correct forum to report?
 
Bash:
Starting backup: host/xps9310/2024-05-04T09:18:07Z
Client name: xps9310
Starting backup protocol: Sat May  4 11:18:07 2024
storing login ticket failed: $XDG_RUNTIME_DIR must be set
No previous manifest available.
Upload directory '/' to '192.168.99.99:HOSTS' as root.pxar.didx
skipping mount point: "dev/hugepages"
skipping mount point: "dev/mqueue"
skipping mount point: "dev/pts"
skipping mount point: "proc"
catalog upload error - channel closed
Error: error at "run/user/1000": stat failed on "run/user/1000/gvfs": EACCES: Permission denied
storing login ticket failed: $XDG_RUNTIME_DIR must be set

Error: error at "run/user/1000": stat failed on "run/user/1000/gvfs": EACCES: Permission denied

I don't know if this is the correct forum to report?
Hi, can you please state how you invoked the command (which flags where set). Note that you can exclude certain content from a backup by setting an --exclude <path-or-glob> pattern. See https://pbs.proxmox.com/docs/pxar/description.html#creating-an-archive
 
@Chris

Bash:
#!/bin/bash

# Connect VPN
systemctl start wg-quick@wg1

# proxmox-backup-client
export PBS_PASSWORD=supers3cret
proxmox-backup-client backup root.pxar:/ --repository 192.168.1.22:HOSTS --all-file-systems --exclude /run
proxmox-backup-client prune host/xps9310 --repository 192.168.1.22:HOSTS --keep-daily 7 --keep-weekly 1 --keep-monthly 12
unset PBS_PASSWORD

# Disconnect VPN
systemctl stop wg-quick@wg1

Yes, I can exclude /run manually, but it shouldn't be necessary. The /run directory will always fail, and shouldn't be included in --all-file-systems if you ask me. :)
 

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!