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. Why is my backup drive full?

Why is my backup drive full?

Scheduled Pinned Locked Moved Solved Support
backupsbackup
20 Posts 5 Posters 1.5k Views 6 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.
  • jdaviescoatesJ jdaviescoates

    I just had a look at whats inside /var/backups/snapshot and it looks like it's all from 15 Jan! Surely that can't be right?!?

    root@ubuntu-2gb-fsn1-1:/var/backups/snapshot# ls -l
    total 1218540
    -rw-r--r-- 2 yellowtent yellowtent 1165420357 Jan 15  2020 app_08388b1d-12c7-42c2-b6bd-a5c5be5cfcbb.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent       7667 Jan 15  2020 app_133a418f-dc94-4f4a-bd80-b29d6fe6d356.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent       8754 Jan 15  2020 app_2077efa7-c7a1-42fd-91f2-d528e594ee54.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent    7267103 Jan 15  2020 app_3eef7707-506f-4c12-b762-364589507136.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent       9855 Jan 15  2020 app_77519696-45f5-4bd8-bc28-78ebb2ba3664.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent      68475 Jan 15  2020 app_a0a9bc60-0693-4b86-bcd1-ce74c301ff3c.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent   74700646 Jan 15  2020 app_d0e0fa7c-e358-4d93-869b-e227feec349f.tar.gz
    -rw-r--r-- 2 yellowtent yellowtent     278567 Jan 15  2020 box.tar.gz
    root@ubuntu-2gb-fsn1-1:/var/backups/snapshot# 
    
    
    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #8

    I note that 15 Jan is actually the day I created the volume where my backups live:

    backup_created.png

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #9

      Just to get a clear picture here, can you double check your backup configuration to see the folder it actually is using for backups? Also check if you use tarball or rsync style backup.

      Note that if you change the backup configuration, the old backups will remain on the disk, Cloudron does not do any purging of old backups. For example if you switch from tarball to rsync, the old tarballs will still exist on disk and have to be manually removed as of now.

      jdaviescoatesJ 1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #10

        Also, make sure that the "Directory is external disk" option is checked. This will make sure that the external disk is actually mounted.

        1 Reply Last reply
        0
        • nebulonN nebulon

          Just to get a clear picture here, can you double check your backup configuration to see the folder it actually is using for backups? Also check if you use tarball or rsync style backup.

          Note that if you change the backup configuration, the old backups will remain on the disk, Cloudron does not do any purging of old backups. For example if you switch from tarball to rsync, the old tarballs will still exist on disk and have to be manually removed as of now.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #11

          @nebulon said in Why is my backup drive full?:

          Just to get a clear picture here, can you double check your backup configuration to see the folder it actually is using for backups?

          Doh!

          Yeah, I've got a volume mounted so it's not /var/backups/ it's at /mnt/backups

          Here they all are!

          root@ubuntu-2gb-fsn1-1:~# ls -l /mnt/backups
          total 164
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  6 22:30 2020-09-06-223002-163
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  8 22:30 2020-09-08-223001-828
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  8 22:30 2020-09-08-223002-037
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:30 2020-09-09-223002-877
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:38 2020-09-09-223003-092
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:30 2020-09-09-223003-461
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:30 2020-09-09-223048-638
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 11 22:30 2020-09-11-223001-919
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 11 22:30 2020-09-11-223002-397
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 12 22:40 2020-09-12-224039-652
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:41 2020-09-13-224129-874
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:45 2020-09-13-224527-403
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:47 2020-09-13-224555-257
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:47 2020-09-13-224713-002
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:48 2020-09-13-224757-613
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:30 2020-09-14-023003-201
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:31 2020-09-14-023003-213
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:30 2020-09-14-023003-224
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:31 2020-09-14-023050-510
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 15 22:40 2020-09-15-224017-990
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 18 22:40 2020-09-18-224017-550
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 19 00:57 2020-09-19-003001-934
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 20 00:39 2020-09-20-000010-527
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 20 22:30 2020-09-20-223002-164
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 00:56 2020-09-21-003001-880
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 22:30 2020-09-21-223003-597
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 22:30 2020-09-21-223003-806
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 22:30 2020-09-21-223003-870
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 23 22:30 2020-09-23-223001-540
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 24 00:30 2020-09-24-003001-489
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 24 22:11 2020-09-24-220003-529
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 25 13:37 2020-09-25-132557-773
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 25 22:30 2020-09-25-223001-288
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 25 22:30 2020-09-25-223001-426
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 26 02:30 2020-09-26-023001-266
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 26 08:36 2020-09-26-082946-798
          drwx------ 2 root       root       16384 Jan 15  2020 lost+found
          drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 26 08:29 snapshot
          root@ubuntu-2gb-fsn1-1:~# 
          

          @nebulon said in Why is my backup drive full?:

          Note that if you change the backup configuration, the old backups will remain on the disk, Cloudron does not do any purging of old backups. For example if you switch from tarball to rsync, the old tarballs will still exist on disk and have to be manually removed as of now.

          That explains why the ancient ones (because I purchased and mounted a volume) were still in /var/backups

          I use Cloudron with Gandi & Hetzner

          girishG 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @nebulon said in Why is my backup drive full?:

            Just to get a clear picture here, can you double check your backup configuration to see the folder it actually is using for backups?

            Doh!

            Yeah, I've got a volume mounted so it's not /var/backups/ it's at /mnt/backups

            Here they all are!

            root@ubuntu-2gb-fsn1-1:~# ls -l /mnt/backups
            total 164
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  6 22:30 2020-09-06-223002-163
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  8 22:30 2020-09-08-223001-828
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  8 22:30 2020-09-08-223002-037
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:30 2020-09-09-223002-877
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:38 2020-09-09-223003-092
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:30 2020-09-09-223003-461
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep  9 22:30 2020-09-09-223048-638
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 11 22:30 2020-09-11-223001-919
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 11 22:30 2020-09-11-223002-397
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 12 22:40 2020-09-12-224039-652
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:41 2020-09-13-224129-874
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:45 2020-09-13-224527-403
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:47 2020-09-13-224555-257
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:47 2020-09-13-224713-002
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 13 22:48 2020-09-13-224757-613
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:30 2020-09-14-023003-201
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:31 2020-09-14-023003-213
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:30 2020-09-14-023003-224
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 14 02:31 2020-09-14-023050-510
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 15 22:40 2020-09-15-224017-990
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 18 22:40 2020-09-18-224017-550
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 19 00:57 2020-09-19-003001-934
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 20 00:39 2020-09-20-000010-527
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 20 22:30 2020-09-20-223002-164
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 00:56 2020-09-21-003001-880
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 22:30 2020-09-21-223003-597
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 22:30 2020-09-21-223003-806
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 21 22:30 2020-09-21-223003-870
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 23 22:30 2020-09-23-223001-540
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 24 00:30 2020-09-24-003001-489
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 24 22:11 2020-09-24-220003-529
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 25 13:37 2020-09-25-132557-773
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 25 22:30 2020-09-25-223001-288
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 25 22:30 2020-09-25-223001-426
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 26 02:30 2020-09-26-023001-266
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 26 08:36 2020-09-26-082946-798
            drwx------ 2 root       root       16384 Jan 15  2020 lost+found
            drwxr-xr-x 2 yellowtent yellowtent  4096 Sep 26 08:29 snapshot
            root@ubuntu-2gb-fsn1-1:~# 
            

            @nebulon said in Why is my backup drive full?:

            Note that if you change the backup configuration, the old backups will remain on the disk, Cloudron does not do any purging of old backups. For example if you switch from tarball to rsync, the old tarballs will still exist on disk and have to be manually removed as of now.

            That explains why the ancient ones (because I purchased and mounted a volume) were still in /var/backups

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

            @jdaviescoates said in Why is my backup drive full?:

            /var/backups/

            You can safely remove the files/backups here, will get back some space.

            jdaviescoatesJ 1 Reply Last reply
            1
            • girishG girish

              @jdaviescoates said in Why is my backup drive full?:

              /var/backups/

              You can safely remove the files/backups here, will get back some space.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #13

              @girish said in Why is my backup drive full?:

              You can safely remove the files/backups here, will get back some space.

              Just to be clear, I'm assuming I can safely remove absolutely everything in there, right?

              Perhaps even completely remove that folder?

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #14

                @jdaviescoates said in Why is my backup drive full?:

                Perhaps even completely remove that folder?

                Yes, you can remove it entirely.

                jdaviescoatesJ ei8fdbE 2 Replies Last reply
                1
                • girishG girish

                  @jdaviescoates said in Why is my backup drive full?:

                  Perhaps even completely remove that folder?

                  Yes, you can remove it entirely.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #15

                  @girish OK will do.

                  The error messages I'm getting are still really strange. Latest one is the strangest yet:

                  Not enough disk space for backup. Needed: 1.08 GB Available: 1.08 GB

                  Either way, guess I need to delete a few more old backups from /mnt/backups before backing up will work again...

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #16

                    In the end I just bit the bullet and doubled the size of my backup disk!

                    Still slightly confused/ bemused by all the strange random space errors I was getting though!

                    I use Cloudron with Gandi & Hetzner

                    avatar1024A 1 Reply Last reply
                    0
                    • girishG girish

                      @jdaviescoates said in Why is my backup drive full?:

                      Perhaps even completely remove that folder?

                      Yes, you can remove it entirely.

                      ei8fdbE Offline
                      ei8fdbE Offline
                      ei8fdb
                      wrote on last edited by ei8fdb
                      #17

                      @girish I had the same question as @jdaviescoates. I've moved my backups from internal same drive to an external USB drive.

                      I am using tarballs as backup format.

                      I've moved the backup directories from /var/backups/ to my external drive. If I want to restore from those backup directories, do I need the contents of the /var/backups/snapshot directory also?

                      If I don't want to restore from those older backups, can I confirm that it's OK to delete the contents of the /var/backups/snapshot directory?

                      Thanks for the helpful thread. 👍

                      girishG 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        In the end I just bit the bullet and doubled the size of my backup disk!

                        Still slightly confused/ bemused by all the strange random space errors I was getting though!

                        avatar1024A Offline
                        avatar1024A Offline
                        avatar1024
                        wrote on last edited by
                        #18

                        @jdaviescoates If you're using rsync, the space errors might not be so strange, as it would only need to add additional files, rather than backing up the whole thing again, hence the space required for a given backup might be quite random (depending what has changed since the last one). Just a suggestion though. And of course if you're using tarball then that is really weird!

                        jdaviescoatesJ 1 Reply Last reply
                        1
                        • avatar1024A avatar1024

                          @jdaviescoates If you're using rsync, the space errors might not be so strange, as it would only need to add additional files, rather than backing up the whole thing again, hence the space required for a given backup might be quite random (depending what has changed since the last one). Just a suggestion though. And of course if you're using tarball then that is really weird!

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #19

                          @avatar1024 yeah, it was tarball.

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          0
                          • ei8fdbE ei8fdb

                            @girish I had the same question as @jdaviescoates. I've moved my backups from internal same drive to an external USB drive.

                            I am using tarballs as backup format.

                            I've moved the backup directories from /var/backups/ to my external drive. If I want to restore from those backup directories, do I need the contents of the /var/backups/snapshot directory also?

                            If I don't want to restore from those older backups, can I confirm that it's OK to delete the contents of the /var/backups/snapshot directory?

                            Thanks for the helpful thread. 👍

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

                            @ei8fdb said in Why is my backup drive full?:

                            I've moved the backup directories from /var/backups/ to my external drive. If I want to restore from those backup directories, do I need the contents of the /var/backups/snapshot directory also?

                            The snapshot directory is not required for restoring. BUT it's required for the actual the backups to work (so think of it as a working directory for backups). It's important to not remove that directory when doing backups! Since, Cloudron will use hard links from the actual backups to the snapshot directory, it's not really taking up extra space.

                            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