From 5c4653f4276c39c2a6eead6ffb32a479be0ac88d Mon Sep 17 00:00:00 2001 From: Jeff Hallam Date: Mon, 21 Oct 2019 19:24:50 -0300 Subject: [PATCH 1/2] Update 080_examples.rst Added an explanation of how to specify the AWS S3 storage classes and what the default value is. --- doc/080_examples.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/080_examples.rst b/doc/080_examples.rst index 875666d65..9a070b108 100644 --- a/doc/080_examples.rst +++ b/doc/080_examples.rst @@ -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 -A snapshot was created and stored in the S3 bucket. This snapshot may now be -restored: +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: + +.. code-block:: console + + $ ./restic backup -o s3.storageclass=REDUCED_REDUNDANCY test.bin + +This snapshot may now be restored: .. code-block:: console From 67d99b8cfbe03f4af0a13dfe3f18ca6ad537f72b Mon Sep 17 00:00:00 2001 From: Jeff Hallam Date: Mon, 18 Nov 2019 16:36:20 -0400 Subject: [PATCH 2/2] Update 080_examples.rst added backticks around the -o and --option text. --- doc/080_examples.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/080_examples.rst b/doc/080_examples.rst index 9a070b108..c8320dd88 100644 --- a/doc/080_examples.rst +++ b/doc/080_examples.rst @@ -247,7 +247,7 @@ 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 -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: +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``: .. code-block:: console