ZFS is excellent at storing all your data safely but “there are still lots of potential ways for your data to die, and you still need to back up your pool. Period. PERIOD!”
The process below shows how you can setup a regular sync to Amazon S3 and was tested on FreeNAS-9.3-STABLE-201509022158.
Setup the S3 Folders and Upload User
Log on to the AWS interface
Select Services -> S3
- create a bucket
- configure the logs as requested
Select Services -> Security and Identity -> IAM
- On the left either click “Users” or click “Create individual IAM users” in the main interface
- Create a new user and note the AWS Access Key and AWS Secret Key
- Select the user and give is the permission “AmazonS3FullAccess”
Add Jail for s3cmd
On FreeNAS: Click Jails -> Add Jail and give it a name s3cmd.
So attached to the jail and install s3cmd.
Click Jails -> s3cmd -> Storage -> Add storage
Then configure the following
- Source is the folder in the zfspool you want to backup
- Destination is /mnt/zfspool/new_folder
- Ensure its set as Read Only
- Select Create Directory
Start your first sync