2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-01 00:20:48 +00:00

Update 080_examples.rst

Added an explanation of how to specify the AWS S3 storage classes and what the default value is.
This commit is contained in:
Jeff Hallam 2019-10-21 19:24:50 -03:00 committed by GitHub
parent 604b18aa74
commit 5c4653f427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,8 +247,13 @@ restic is now ready to be used with AWS S3. Try to create a backup:
---------------------------------------------------------------------- ----------------------------------------------------------------------
10fdbace 2017-03-26 16:41:50 blackbox /home/philip/restic-demo/test.bin 10fdbace 2017-03-26 16:41:50 blackbox /home/philip/restic-demo/test.bin
A snapshot was created and stored in the S3 bucket. This snapshot may now be A snapshot was created and stored in the S3 bucket. By default backups to AWS S3 will use the ``STANDARD`` storage class. Available storage classes include ``STANDARD``, ``STANDARD_IA``, ``ONEZONE_IA``, ``INTELLIGENT_TIERING``, and ``REDUCED_REDUNDANCY``. A different storage class could have been specified in the above command by using -o or --option:
restored:
.. code-block:: console
$ ./restic backup -o s3.storageclass=REDUCED_REDUNDANCY test.bin
This snapshot may now be restored:
.. code-block:: console .. code-block:: console