{"id":17723,"date":"2024-10-13T09:28:49","date_gmt":"2024-10-13T09:28:49","guid":{"rendered":"https:\/\/bisup.com\/?p=17723"},"modified":"2024-10-13T09:28:49","modified_gmt":"2024-10-13T09:28:49","slug":"how-do-i-transfer-large-files-using-rsync","status":"publish","type":"post","link":"https:\/\/www.bisup.com\/blog\/how-do-i-transfer-large-files-using-rsync\/","title":{"rendered":"How do I transfer large files using rsync?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>FTP Uploads on bisup<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">FTP uploads on our system have a maximum size of 5GB. If you need to upload files larger than this, you&#8217;d need to upload these via SSH.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Uploading on Windows<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are using Windows, we recommend uploading files using WinSCP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Uploading on Mac OS, Linux, or Unix-based Systems<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For Mac OS, Linux, or other Unix-based systems, you can use <code>rsync<\/code> to move files over. First, ensure that <code>rsync<\/code> is installed and ready to use. On Mac OS X and most Linux distributions, <code>rsync<\/code> is pre-installed. You can verify this by running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ rsync --version\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the command fails, install it by running the appropriate command for your system:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ sudo apt-get install rsync  # For Debian and Ubuntu\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ sudo yum install rsync  # For CentOS, Fedora, Rocky, and AlmaLinux\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-using-rsync-to-upload-files-to-your-bisup-web-hosting-package\">Using <code>rsync<\/code> to Upload Files to Your bisup Web Hosting Package<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Generating an SSH Key Pair<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, generate SSH keys to access your bisup hosting package. Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ ssh-keygen\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ll see a prompt like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vbnetCopy code<code>Generating public\/private rsa key pair.\nEnter file in which to save the key (\/yourHomePath\/.ssh\/id_rsa):\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Simply press Enter to save the key pair to the default location (<code>~\/.ssh\/<\/code>). You can choose a custom directory if needed. It may ask if you want to overwrite existing keys\u2014only proceed if you want to replace the previous keys.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Optionally, set a passphrase for added security, or leave it empty.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The public key needs to be uploaded into the SSH Access section of your bisup hosting package. To verify it&#8217;s working, try connecting via SSH:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ ssh -i \/path\/to\/privatekey user@yourdomain.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once connected, you&#8217;re ready to start transferring files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Transferring Files Using <code>rsync<\/code><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With SSH access set up, use the <code>rsync<\/code> command to move large files. Here\u2019s the command structure:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>rsync [options] [file to move] user@yourdomain.com:[directory of package to move to]\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For example, to transfer a backup file to your bisup hosting package:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ rsync -v path\/to\/backup.zip user@yourdomain.com:\/home\/yourpath\/public_html\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To find your hosting package\u2019s home directory path, go to your bisup control panel, navigate to the &#8220;Manage Hosting&#8221; section, and look under &#8220;Account Information&#8221; for the home path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can specify an optional path within your hosting package, such as:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>\/home\/yourpath\/public_html\/new-site\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If no path is provided, the file will be uploaded to the root directory of your package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>-v<\/code> option enables verbose output, which will display the progress and confirmation once the transfer is complete.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Using the US Data Center<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your bisup hosting is on the US data center, use <code>ssh.us.yourdomain.com<\/code> instead of <code>ssh.gb.yourdomain.com<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Specifying a Custom SSH Key<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you created SSH keys in a custom location or with a custom name, specify the key in the <code>rsync<\/code> command with the <code>-e<\/code> option:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopy code<code>$ rsync -ve \"ssh -i \/path\/to\/key\" path\/to\/backup.zip user@yourdomain.com:\/home\/yourpath\/public_html\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once the <code>rsync<\/code> process completes, you can verify the upload in the File Manager of your bisup control panel.<\/p>\n","protected":false},"excerpt":{"rendered":"FTP Uploads on bisup FTP uploads on our system have a maximum size of 5GB. If you need&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-17723","post","type-post","status-publish","format-standard","category-uncategorized","cs-entry"],"_links":{"self":[{"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/posts\/17723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/comments?post=17723"}],"version-history":[{"count":0,"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/posts\/17723\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/media?parent=17723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/categories?post=17723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bisup.com\/blog\/wp-json\/wp\/v2\/tags?post=17723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}