Replies: 1 comment 1 reply
-
Maybe you want to publish the HowTo in the Description of Urbackup Server LXC |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
with this Howto i want to show you, how you can save your Urbackup Server Backups on a Samba shared drive🤗.
I am assuming a fresh Urbackup Server LXC installation here.
I also assume that your backups are saved during the Urbackup server installation under:
/media/BACKUP/urbackup
INFO: The Urbackup LXC container requires max. 4GB disk space.
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/urbackupserver.sh)"
SMB/CIFS + FUSE
INFO: With the Option
FUSE
, you are able to mount the system image via GUI.Go to your Samba Server and create a Samba shared drive with the following options:
For example on my OpenMediaVault Server in looks like this:
Start the Urbackup Server LXC and connect via ssh.
The following commands are executed on the Urbackup Server LXC.
stop Urbackup-server with:
We now create a systemd service to mount the Samba shared drive. This is just an example. Adapt it to your needs.
The most important option is:
mfsymlinks
6.1. Find out the
uid
andgid
from urbackupyou will get something like this:
uid=104(urbackup) gid=113(urbackup) groups=113(urbackup)
6.2. Create the Samba Mount Service:
6.3. Adapt the Samba mount service to suit your needs:
<your username>
<your password>
<urbackup uid>
<urbackup gid>
<your samba server>
<your ubackup shared-drive>
systemctl enable samba-mount.service
We now make Urbackup Server dependent on the Samba mount service.
add this after:
### Anything between here and the comment below will become the new contents of the file
FINISH 😎
Beta Was this translation helpful? Give feedback.
All reactions