Last but not least, all directories to be backed up need to be mounted. The cache is mounted into the default Unix cache location as per the documentation. To leverage the cache from within our container, we need to store it outside of the container (remember, the container is destroyed after each operation!). Restic keeps a cache on the local machine to speed up certain operations. Next, the a restic excludes file is passed into the container, so that we can manage and store the exclude configuration on the host file system. the QNAP NAS) into the container.īy doing so, all dates and times reported by restic have the same timezone as your QNAP (which is really useful :-) ). To get date and time right, we simply mount the /etc/localtime and /etc/timezone files of the host (i.e. Here we’ll export the account and secret key we have generated before (no need for you master account key unless you want to):Įcho "Now launching container." # do the backup Once you’ve got the restic CLI you will need to supply the Backblaze B2 account login information. So first, make sure restic is properly installed from wherever you would like to initialize the repository. If you intend to have a look at your repository from your workstation anyways, it may be a good idea to setup restic on your workstation anyways. You can prepare the repository from anywhere you can run restic (so not necessarily on the QNAP). Initialize Restic Repositoryīefore we can use our new bucket to store backups we need to prepare a new restic repository in that bucket. You will need to put the access key and the secret access key to your QNAP so make sure to store them in a safe place. The access key should be limited to the specific bucket and if you intend to have multiple backups in the bucket, you could even set a backup-specific file name prefix: Right above the big “Create a Bucket” button is a small and nondescript link labeled “Show Account ID and Application Key” which we will use to create an access key for our restic client running on the QNAP. Then, create a new private bucket that will hold your online backup data: Setting up Backblaze B2įirst of all, you will need to create a Backblaze B2 account if you don’t already have one. Previously, I’ve had my online backup done with CrashPlan but since they’ve dropped support for personal backups I had to build a better solution. In this article I am going to walkthrough how I have setup the online backup for my QNAP NAS TS-451 using the Container station. Paired with Backblaze B2, an affordable S3 storage, this makes a perfect combination for setting up an online backup solution. Meet restic an open-source backup software with a great concept that many people trust. You can get up and running in minutes, with your first 10GB of storage free, or contact us to plan a personalized proof-of-concept test for free.Easy, fast and end-to-end encrypted backup of a QNAP NAS stored in the cloud at a fair price? Absolutely! And it’s affordable: a quarter of the cost of Amazon S3, and you pay only for what you use – no minimums, tiers, or fine print. It works with your existing workflows, connecting seamlessly with NAS, SAN, MAM, and other tools and complementing industry go-tos including iconik, CatDV, Archiware, QNAP, Synology and more. It’s always active, so your files are instantly accessible with no nearline, offline, or tape delays. Customers including American Public Television, Complex Networks, and Good Eats use Backblaze B2 because it’s astonishingly easy to use – it’s built for ease of use, so you can set up and operate effectively in minutes. Backblaze B2 is enterprise-grade, S3 compatible storage that companies around the world use to store and serve data while improving their cloud OpEx vs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |