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 backup Cloudron to Scaleway free tier?

How to backup Cloudron to Scaleway free tier?

Scheduled Pinned Locked Moved Solved Support
scalewaybackups
5 Posts 3 Posters 841 Views 3 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.
    • Z Offline
      Z Offline
      zylstra
      wrote on last edited by girish
      #1

      It appears that Cloudron backs up to Scaleway's paid "Standard" storage class, with no option to back up to "One Zone IA" storage class, which is their free tier. You can set the storage class after the fact via Scaleway's website dashboard, but of course that is a bit tedious. I am using the PAR region, which, as far as I know, is the region needed to use the free "One Zone IA" storage class.

      How do I back up Cloudron to the Scaleway "One Zone IA" storage class automatically?

      Edit: I now see, at https://docs.cloudron.io/backups/#scaleway-object-storage :

      The Storage Class must be set to STANDARD . Setting it to GLACIER will result in an error because server side copy operation is not supported in that mode.

      but where is that set? I don't see that option in the settings.

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        zylstra
        wrote on last edited by zylstra
        #2

        This is what Scaleway just answered.

        I asked Scaleway:

        Am I explicitly choosing a storage class every time I upload a file? If not, can I set the default storage class to be One Zone IA instead of Standard?

        They answered:

        Hello sir, Indeed you are. You'll have to set every single time the storage class needed. You may be interested by S3 CLI: https://www.scaleway.com/en/docs/storage/object/api-cli/object-operations#putobject aws s3api put-object --bucket BucketName --key dir-1/ObjectName --body ObjectName Note: To define the storage class of the object directly upon creation, use the --storage-class option with awscli or add the x-amz-storage-class: header when using the S3 API. You can specify one of the following classes: STANDARD, ONEZONE_IA, GLACIER. Example: x-amz-storage-class: ONEZONE_IA.If no class is specified, the object is created as STANDARD by default. Best regards, ---- Ian FREMONT Customer Excellence Specialist Scaleway Dedibox / Elements

        But of course (for a newbie) my Cloudron question still remains.

        girishG 1 Reply Last reply
        0
        • Z zylstra

          This is what Scaleway just answered.

          I asked Scaleway:

          Am I explicitly choosing a storage class every time I upload a file? If not, can I set the default storage class to be One Zone IA instead of Standard?

          They answered:

          Hello sir, Indeed you are. You'll have to set every single time the storage class needed. You may be interested by S3 CLI: https://www.scaleway.com/en/docs/storage/object/api-cli/object-operations#putobject aws s3api put-object --bucket BucketName --key dir-1/ObjectName --body ObjectName Note: To define the storage class of the object directly upon creation, use the --storage-class option with awscli or add the x-amz-storage-class: header when using the S3 API. You can specify one of the following classes: STANDARD, ONEZONE_IA, GLACIER. Example: x-amz-storage-class: ONEZONE_IA.If no class is specified, the object is created as STANDARD by default. Best regards, ---- Ian FREMONT Customer Excellence Specialist Scaleway Dedibox / Elements

          But of course (for a newbie) my Cloudron question still remains.

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

          @zylstra only the standard storage will work. The other storages do not support operations like copy that we use in our backups.

          1 Reply Last reply
          2
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            Also, the other thing is that the other storage options are very slow when recovering. This breaks things like clone/restore. IIRC, on aws s3 cold storage, some of them can take hours to get the data!

            1 Reply Last reply
            1
            • jdaviescoatesJ Online
              jdaviescoatesJ Online
              jdaviescoates
              wrote on last edited by
              #5

              I would not do this with backups for all the reasons @girish has mentioned (ie you'd have to restore the objects to standard before you'd be able to use them and this could take a while, not what you want when you need to quickly restore a backup), but what you could do if you really wanted to is to move older backups to Glacier automatically after a certain amount of time using automated lifecycle rules

              IMG_20230210_214239.jpg

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              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