Rank 2: Process
[SOLVED] Appwrite instance take a lot of space
Votes
0
Replies
24
Participants
Unknown
Messages
25
That's okay
You see, in the attached photo you can see that the available space is the same as the main drive
Docker uses overlay2 to connect the volumes to the containers
Rank 2: Process
Okay ! So the 10gb is Appwrite + the OS data right ?
Appwrite space is ok for you 🙂 ?
Rank 2: Process
Thanks for your really quick help @Binyamin
If you do want to find the fault and the big files, run
du -sh /*Then, you can go folder by folder to find to over use.
But if you have the
- Images
- Volumes
At 5GB then it seems normal
Rank 2: Process
Thanks a lot !
Rank 2: Process
Last question, is this script is up-to-date ? https://gist.github.com/Meldiron/47b5851663668102a676aff43c6341f7
I think it should work yes,
Also check Steven's one as it also dump the DB
Rank 2: Process
Yeah I already has the steven one, working perfectly !
My question is all the scripts (steven or Meldiron) works exactly the same ? All does a complete backup ?
Yes,
I would suggest practicing by trying to restore a backup to a new server
I'm using the above script, then, I'm pushing it to remote host using rclone
Rank 2: Process
Nice tips !
Thanks @Binyamin
Rank 2: Process
BTW it seems overlay2 take 21G :p
Rank 2: Process
Is it normal ?
Isn't your server 20GB in total?
Rank 2: Process
Yep !
Rank 2: Process
So it's probably symlinks
Try
du -sh /var/lib/docker/overlay2/*To find out
Rank 2: Process
Thats very huge !
it doesn't seems like it's a problem as it is
As layers shares with each other
Rank 2: Process
Ok perfect thanks @Binyamin !

[SOLVED] Appwrite instance take a lot of space
Rank 3: Container
Same here, mine reached 70 GB 😅 It's a good thing you asked 
the backup methods are different for the database. Matej's script saves the volume data. My script doest a sql dump.