File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,22 @@ docker exec -it packagist-ui rm /tmp/storage.tar.gz
4242docker stop packagist-ui
4343```
4444
45+ In case you run into timeout problems while running the ` migrate-storage ` command, we offer an alternative approach
46+ using only the ` tar ` command.
47+
48+ ```
49+ # The following commands may require root permissions
50+ docker stop packagist-ui
51+ cd /data/packagist
52+
53+ # Ensure all needed folders are present
54+ mkdir -p artifacts composer
55+
56+ # Replace YOUR_BACKUP_PATH with the path you wish to save the backup to
57+ tar -cvzf YOUR_BACKUP_PATH/packagist_storage.tar.gz --transform s/^composer/dist/ --transform s/^artifacts/artifact/ composer artifacts
58+ ```
59+
60+
4561### Backup the PostgreSQL database
4662
4763At the end of this step, you should have a ` packagist_db.sql ` file in your working directory.
You can’t perform that action at this time.
0 commit comments