Crates.io | forge_move |
lib.rs | forge_move |
version | 0.5.0 |
source | src |
created_at | 2024-07-09 23:00:58.1596 |
updated_at | 2024-07-10 12:31:12.037197 |
description | A program to backup a site from one forge server and copy it to another. |
homepage | |
repository | https://github.com/codemonkey76/rust_forge_move |
max_upload_size | |
id | 1297575 |
size | 29,788 |
forge_move
is utility for moving websites from one server to another. I developed this for Laravel Forge servers, however it will work with any linux server. It will detect the type of website and backup both the database and website files and copy them to the destination server and restore the DB on that server.
mysqldump
gzip
To install the rust toolchain, run the following command
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
To install forge_move
, ensure you have the Rust toolchain installed, then run:
cargo install forge_move
To use forge_move
, run the following command:
forge_backup [OPTIONS]
--dir <WEBSITE_FOLDER>: Specify where the website files are.
--server <DEST_SERVER>: Specify the destination server.
--target <TARGET_FOLDER>: Specify the target folder on the new server.
-h, --help: Print help information.
-V, --version: Print version information.
forge_move --dir . --server new-server --target /home/new_user/some-site.com.au
We welcome contributions. Please follow these guidelines:
This project is licensed under the MIT License.
If you encounter any issues or have feature requests, please submit them on our GitHub Issues page.
For any questions or support, please feel free to reach out via GitHub.
Thank you for using forge_move
!