Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Synchronizing Cloudron Backups to Hetzner Storage Box

Synchronizing Cloudron Backups to Hetzner Storage Box

Scheduled Pinned Locked Moved Support
backupsstoragebox
3 Posts 2 Posters 404 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • archosA Offline
    archosA Offline
    archos
    wrote on last edited by girish
    #1

    I am currently backing up Cloudron data to a local HDD using rsync, and I want to synchronize these backups to a Hetzner Storage Box as well. However, I encountered an issue where the backup size significantly increases during the transfer. A backup that is 300 GB on the HDD becomes 1.1 TB on the Storage Box. I need help optimizing this process.
    rsync Command

    rsync -avz --delete  -e "ssh -p 23" /mnt/backup/backup u@u.your-storagebox.de:home/
    
    

    Problem
    The backups on the HDD are approximately 300 GB, but when synchronized to the Hetzner Storage Box, they balloon to 1.1 TB.
    Does anyone know how to solve this problem. I would be grateful for any advice. Thank you very much.

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by nebulon
      #2

      Are you using hardlinks on the Cloudron backup side? rsync to hetzner storage box will not create hardlinks but copies of the files. Maybe this could explain the exceeding size?

      Not sure what your exact use-case here is, but just to let you know, Cloudron v8.1 will have a fix improving the backup to storage box including hardlink support by a lot.

      archosA 1 Reply Last reply
      5
      • nebulonN nebulon

        Are you using hardlinks on the Cloudron backup side? rsync to hetzner storage box will not create hardlinks but copies of the files. Maybe this could explain the exceeding size?

        Not sure what your exact use-case here is, but just to let you know, Cloudron v8.1 will have a fix improving the backup to storage box including hardlink support by a lot.

        archosA Offline
        archosA Offline
        archos
        wrote on last edited by
        #3

        @nebulon Thank you for your response. Yes, it seems the issue is indeed with hardlinks. I have them enabled. I will try to wait for the Cloudron update, or I might consider using Borg for backups to the Storage Box. That should probably resolve the issue. Another option is using rsync with the -H switch, but I haven't tested it yet. Thank you very much for your help.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search