Order a VPS, Semi- dedicated or Dedicated server in Dallas, London or Australia.
Ask our support team about your hosting requirements.
Host where the staff takes pride in making customers happy
Thank you for the excellent support. My day-job company signed $600M outsourcing deal but the service and support is far from the one I get through you.
RimuHosting performs full backups of your file system each week. In addition all recent VPSs run on RAID file systems that protect your data in the event of a drive failure.
If you would like to make an offsite backup of key files or database dumps you can use our backup FTP server. backupspace.rimuhosting.com is running vsftpd (the same FTP server used by Linux's kernel.org). Each RimuHosting customer is allocated a 300MB file space quota on this server (you can purchase more space if you need it).
Our vsftpd server uses TLS/SSL to encrypt all backup traffic between it and your VPS. Not all FTP clients support this TLS/SSL. lftp does. And we recommend it highly for its powerful scripting capabilities.
Create an FTP account from the RimuHosting control panel
To run a regular interactive FTP session: lftp -u 'username,password' backupspace.rimuhosting.com
To backup one or more files: lftp -u 'username,password' backupspace.rimuhosting.com -e "set ftp:ssl-protect-data true; mput /local/dir/files* /remotedir; exit"
You need to set ftp:ssl-protect-data else you will not be able to store the file. If you want to make this a
default option, add it to the lftp.conf file. e.g. : grep -qai "set ftp:ssl-protect-data true" /etc/lftp.conf || echo "set ftp:ssl-protect-data true" >> /etc/lftp.conf
To restore a file from the FTP server to your VPS: lftp -u 'username,password' backupspace.rimuhosting.com -e "set ftp:ssl-protect-data true;mget /remotedir/files* -O /localdir; exit". The -O option
is not required it you wish to store to the current local directory.
To mirror a whole directory to the FTP server: lftp -u 'username,password' backupspace.rimuhosting.com -e "set ftp:ssl-protect-data true;mirror
--reverse /local/dir/name remotedirname; exit". --reverse means that the 'mirroring' is going in the reverse
direction than 'normal'. i.e. from your server to the backup server. If you run man lftp there
are a few other options to choose from. e.g. --delete to delete files on the backup server that do not exist locally.
Or --continue to continue a mirror job. Or --exclude files to exclude certain files from the transfer.
To restore a whole directory from the FTP server to your VPS: lftp -u 'username,password' backupspace.rimuhosting.com -e "set ftp:ssl-protect-data true;mirror remotedirname /local/dir/name;exit"
To create a nightly cronjob that uploads a directory to the backup FTP server, create a /etc/crond.daily/ftpbackup file like this:
#!/bin/bash
lftp -u 'username,password' backupspace.rimuhosting.com -e "set ftp:ssl-protect-data true;mirror --reverse /local/dir/name remotedirname;exit" > /dev/null
Run chmod +x /etc/cron.daily/ftpbackup. Then check the files have been mirrored as you expect the next day.
If the files you upload end up as 0 byte files, check you have not exceeded your quota by looking at your usage in the control panel.
If you are running into problems run debug 9 from inside an interactive lftp session. That will
output log information that may help you determine the problem.
If you are using an FTP client other than lftp and cannot log into the FTP server, check it supports FTP over TLS/SSL. If not consider using lftp.
Resolving 'Access failed: 521 Data connections must be encrypted': Our vsftpd FTP server daemon will only transfer data
that is encrypted over TSL/SSL. You need to set the ftp:ssl-protect-data option on lftp (see above).
Do you get an error like this?
WARNING: Certificate verification: unable to get local issuer certificate
WARNING: Certificate verification: certificate not trusted
WARNING: Certificate verification: unable to verify the first certificate
In that case you need to add the signer of our backupspace.rimuhosting.com certificate (Equifax Secure Inc.) to your certificate list. Paste the following certificate to the end of /usr/share/ssl/certs/ca-bundle.crt:
-----BEGIN CERTIFICATE-----
MIICkDCCAfmgAwIBAgIBATANBgkqhkiG9w0BAQQFADBaMQswCQYDVQQGEwJVUzEc
MBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5jLjEtMCsGA1UEAxMkRXF1aWZheCBT
ZWN1cmUgR2xvYmFsIGVCdXNpbmVzcyBDQS0xMB4XDTk5MDYyMTA0MDAwMFoXDTIw
MDYyMTA0MDAwMFowWjELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0VxdWlmYXggU2Vj
dXJlIEluYy4xLTArBgNVBAMTJEVxdWlmYXggU2VjdXJlIEdsb2JhbCBlQnVzaW5l
c3MgQ0EtMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuucXkAJlsTRVPEnC
UdXfp9E3j9HngXNBUmCbnaEXJnitx7HoJpQytd4zjTov2/KaelpzmKNc6fuKcxtc
58O/gGzNqfTWK8D3+ZmqY6KxRwIP1ORROhI8bIpaVIRw28HFkM9yRcuoWcDNM50/
o5brhTMhHD4ePmBudpxnhcXIw2ECAwEAAaNmMGQwEQYJYIZIAYb4QgEBBAQDAgAH
MA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUvqigdHJQa0S3ySPY+6j/s1dr
aGwwHQYDVR0OBBYEFL6ooHRyUGtEt8kj2Puo/7NXa2hsMA0GCSqGSIb3DQEBBAUA
A4GBADDiAVGqx+pf2rnQZQ8w1j7aDRRJbpGTJxQx78T3LUX47Me/okENI7SS+RkA
Z70Br83gcfxaz2TE4JaY0KNA4gGK7ycH8WUBikQtBmV1UsCGECAhX2xrD2yuCRyv
8qIYNMR1pHMc8Y3c7635s3a0kr/clRAevsvIO1qEYBlWlKlV
-----END CERTIFICATE-----
(There is a set ssl:verify-certificate no lftp option which should obviate
the need for this change, however that setting does not appear to work. At least on the
lftp versions we tested.)
Debian has put out versions of lftp without ssl support. If you do not have ssl support enabled, then you can build your own lftp with SSL support (e.g. see http://shnoo.gr/articles/2006/02/22/apt-get-and-building-from-source