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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved How to backup Cloudron to Scaleway free tier?

    Support
    scaleway backups
    3
    5
    64
    Loading More Posts
    • 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
      zylstra last edited by girish

      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 Reply Quote 1
      • Z
        zylstra last edited by 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.

        girish 1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @zylstra last edited by

          @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 Reply Quote 2
          • Topic has been marked as a question  girish girish 
          • Topic has been marked as solved  girish girish 
          • girish
            girish Staff last edited by

            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 Reply Quote 1
            • jdaviescoates
              jdaviescoates last edited by

              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 Reply Quote 1
              • First post
                Last post
              Powered by NodeBB