Last active
September 8, 2025 11:30
-
-
Save MahdadGhasemian/416476b536f9a1334382065a7c44b33c to your computer and use it in GitHub Desktop.
Revisions
-
MahdadGhasemian revised this gist
May 22, 2025 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,8 @@ Instructions for restoring `bucket`s using Minio `mirror` features. ## Install Minio Client **Install Link** [install link](https://min.io/docs/minio/linux/reference/minio-mc-admin.html#installation) **Linux AMD64 DEB:** ```bash -
MahdadGhasemian revised this gist
May 22, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Instructions for restoring `bucket`s using Minio `mirror` features. ## Install Minio Client **Install Link** [install link]([https://min.io/download?license=agpl&platform=linux](https://min.io/docs/minio/linux/reference/minio-mc-admin.html#installation)) **Linux AMD64 DEB:** ```bash -
MahdadGhasemian created this gist
Jul 25, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ # Restore Backup with Minio (Minio <----> Local) Instructions for restoring `bucket`s using Minio `mirror` features. ## Install Minio Client **Install Link** [install link](https://min.io/download?license=agpl&platform=linux) **Linux AMD64 DEB:** ```bash wget https://dl.min.io/client/mc/release/linux-amd64/mcli_20240722200249.0.0_amd64.deb sudo dpkg -i mcli_20240722200249.0.0_amd64.deb ``` ## Add minio server to minio alias: ```bash mcli alias set myminio/ MINIO_SERVER_URL MINIO_ADMIN_USERNAME MINIO_ADMIN_PASSWORD ``` ## Commands: ### List all contents of BUCKET_NAME ```bash mcli ls myminio/BUCKET_NAME ``` ### Backup to local ```bash mcli mirror myminio/BUCKET_NAME path-to-your-local-backup-folder/BUCKET_NAME --overwrite ``` ### Restore from local ```bash mcli mirror path-to-your-local-backup-folder/BUCKET_NAME myminio/BUCKET_NAME --overwrite ```