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. How to force a full rsync backup?

How to force a full rsync backup?

Scheduled Pinned Locked Moved Solved Support
backuprsync
3 Posts 2 Posters 642 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.
    • G Offline
      G Offline
      geba
      wrote on last edited by
      #1

      I use rsync backups on a local file system (details below). I have just noticed that my backups consume a lot less space that I'd expect - 1.2 GB for all backups combined, when my Nextcloud app alone has over 6 GB of data in its "appsdata" folder. It seems that Cloudron only backs up the files that have changed since the last backup, without ever checking whether that backup still exists.

      How can I force Cloudron to do a full backup, including files that were previously backed up and have not changed since?

      Some details on my backup strategy for context: my final backup location is a sever I have at home that I don't want to expose to the internet. So I tell Cloudron to do backups to its local file system, and then I have rsnapshot on my home server fetch those backups. Occasionally when I run low on storage on the Cloudron server, I delete old backups there. This worked fine for years; I assume a (fairly) recent Cloudron update introduced the change that Cloudron explicitly excludes unchanged files from backups. (Which seems rather pointless when using rsync on a local drive, because rsync can take care of that itself, but I suppose it makes sense for many other backup cofigurations).

      girishG 1 Reply Last reply
      0
      • G geba

        I use rsync backups on a local file system (details below). I have just noticed that my backups consume a lot less space that I'd expect - 1.2 GB for all backups combined, when my Nextcloud app alone has over 6 GB of data in its "appsdata" folder. It seems that Cloudron only backs up the files that have changed since the last backup, without ever checking whether that backup still exists.

        How can I force Cloudron to do a full backup, including files that were previously backed up and have not changed since?

        Some details on my backup strategy for context: my final backup location is a sever I have at home that I don't want to expose to the internet. So I tell Cloudron to do backups to its local file system, and then I have rsnapshot on my home server fetch those backups. Occasionally when I run low on storage on the Cloudron server, I delete old backups there. This worked fine for years; I assume a (fairly) recent Cloudron update introduced the change that Cloudron explicitly excludes unchanged files from backups. (Which seems rather pointless when using rsync on a local drive, because rsync can take care of that itself, but I suppose it makes sense for many other backup cofigurations).

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @geba said in How to force a full rsync backup?:

        It seems that Cloudron only backs up the files that have changed since the last backup, without ever checking whether that backup still exists.

        yes correct. We don't check the remote as to whether files disappear. That would be a lot of work since you are not supposed to delete files in backups.

        To answer your original question, to force a full rsync - simply change the backup format in the UI to tgz and then save and change it back again to rsync. It will start afresh.

        G 1 Reply Last reply
        0
        • girishG girish

          @geba said in How to force a full rsync backup?:

          It seems that Cloudron only backs up the files that have changed since the last backup, without ever checking whether that backup still exists.

          yes correct. We don't check the remote as to whether files disappear. That would be a lot of work since you are not supposed to delete files in backups.

          To answer your original question, to force a full rsync - simply change the backup format in the UI to tgz and then save and change it back again to rsync. It will start afresh.

          G Offline
          G Offline
          geba
          wrote on last edited by
          #3

          @girish Thanks, that works.

          1 Reply Last reply
          0
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          • girishG girish has marked this topic as unsolved on
          • girishG girish has marked this topic as solved on
          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