All guides

Back up file servers to NordenVault

Encrypted, deduplicated backups for file servers, NAS devices, and workstations. Data stays in the EU.

Prerequisites

  • A NordenVault account with S3 credentials
  • Your NordenVault bucket name
  • restic or rclone installed on the machine you want to back up

Option 1: restic (recommended)

Encrypted, deduplicated, incremental backups. restic handles encryption client-side, so NordenVault never sees your plaintext data.

Install restic

# Debian/Ubuntu
sudo apt install restic

# macOS
brew install restic

# Windows (scoop)
scoop install restic

Set environment variables

export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY
export RESTIC_REPOSITORY=s3:https://s3.nordenvault.com/YOUR_BUCKET/backups
export RESTIC_PASSWORD=YOUR_ENCRYPTION_PASSWORD

Initialize the repository

restic init

Run a backup

# Back up a directory
restic backup /srv/fileserver --tag daily --exclude-caches

# Back up multiple paths
restic backup /srv/files /srv/documents /home/shared \
  --tag fileserver --exclude "*.tmp" --exclude ".DS_Store"

# Check what was backed up
restic snapshots

Restore

# Restore the latest snapshot
restic restore latest --target /tmp/restore

# Restore a specific file or directory
restic restore latest --target /tmp/restore --include "/srv/files/reports/"

# Restore a specific snapshot
restic restore abc123ef --target /tmp/restore

Browse and mount

# Browse files in a snapshot without downloading
restic ls latest

# Mount as a read-only filesystem (Linux/macOS)
mkdir /mnt/backup
restic mount /mnt/backup
# Then browse /mnt/backup/snapshots/

Maintenance

# Remove old snapshots (keep 7 daily, 4 weekly, 6 monthly)
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune

# Verify backup integrity
restic check

Automate with systemd timer

# /etc/systemd/system/restic-backup.service
[Unit]
Description=Restic backup

[Service]
Type=oneshot
EnvironmentFile=/etc/restic/env
ExecStart=/usr/bin/restic backup /srv/fileserver --tag daily --exclude-caches
ExecStartPost=/usr/bin/restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune
# /etc/systemd/system/restic-backup.timer
[Unit]
Description=Run restic backup daily

[Timer]
OnCalendar=*-*-* 02:00:00
Persistent=true

[Install]
WantedBy=timers.target
sudo systemctl enable --now restic-backup.timer

Option 2: rclone

Sync or copy files to NordenVault. Good for mirroring directory structures. No built-in deduplication or encryption (use at the filesystem level if needed).

Install rclone

# Debian/Ubuntu
sudo apt install rclone

# macOS
brew install rclone

Configure

cat >> ~/.config/rclone/rclone.conf << 'EOF'
[nordenvault]
type = s3
provider = Other
endpoint = https://s3.nordenvault.com
access_key_id = YOUR_ACCESS_KEY
secret_access_key = YOUR_SECRET_KEY
region = us-east-1
EOF

Sync files

# One-way sync (mirror local to remote)
rclone sync /srv/fileserver nordenvault:YOUR_BUCKET/fileserver/

# Copy without deleting remote files
rclone copy /srv/fileserver nordenvault:YOUR_BUCKET/fileserver/

# With bandwidth limit (10 MB/s)
rclone sync /srv/fileserver nordenvault:YOUR_BUCKET/fileserver/ --bwlimit 10M

Restore

# Download everything
rclone copy nordenvault:YOUR_BUCKET/fileserver/ /srv/fileserver-restored/

# Download a specific directory
rclone copy nordenvault:YOUR_BUCKET/fileserver/reports/ /tmp/reports/

Which option should I choose?

restic for most use cases. Client-side encryption, deduplication, and incremental backups save storage and bandwidth. Snapshot-based design makes point-in-time recovery straightforward.

rclone when you need a direct mirror of your file structure on NordenVault, or when you want to integrate with other rclone remotes (e.g. migrating from another cloud provider).