Jump to content

Storage: Difference between revisions

no edit summary
No edit summary
Line 182: Line 182:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd /home/mastodon/live
cd /home/mastodon/live
# rclone sync -P public/system {rclone_label}:{bucket_name}
# rclone copy -P public/system {rclone_label}:{bucket_name}
rclone sync -P public/system neuromatchstodon:neuromatchstodon
rclone copy -P public/system neuromatchstodon:neuromatchstodon


</syntaxhighlight>
</syntaxhighlight>
=== Enabling ===
After all your objects are transferred, you should
* change <code>S3_ENABLED=true</code> in your <code>.env.production</code>
* restart mastodon services like <code>sudo systemctl restart mastodon-*</code>
Make a [https://neuromatch.social/@techwg/113043721321267077 test post] to confirm things are working, and you should be good to go <3


== Managing Storage ==
== Managing Storage ==