EnglishFrenchSpanish

Ad


OnWorks favicon

cback3-amazons3-sync - Online in the Cloud

Run cback3-amazons3-sync in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cback3-amazons3-sync that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cback3-amazons3-sync - Synchronize a local directory with an Amazon S3 bucket

SYNOPSIS


cback3-amazons3-sync [switches] sourceDir s3BucketUrl

DESCRIPTION


This is the Cedar Backup 3 Amazon S3 sync tool. It synchronizes a local directory to an
Amazon S3 cloud storage bucket. After the sync is complete, a validation step is taken.
An error is reported if the contents of the bucket do not match the source directory, or
if the indicated size for any file differs.

Generally, one can run the cback3-amazons3-sync command with no special switches. This
will start it using the default Cedar Backup log file, etc. You only need to use the
switches if you need to change the default behavior.

MIGRATING FROM VERSION 2 TO VERSION 3


The main difference between Cedar Backup version 2 and Cedar Backup version 3 is the
targeted Python interpreter. For most users, migration should be straightforward. See
the discussion found at cback3(1) or reference the Cedar Backup user guide.

ARGUMENTS


sourceDir
The source directory on a local disk.

s3BucketUrl
The URL specifying the location of the Amazon S3 cloud storage bucket to
synchronize with, like s3://example.com-backup/subdir.

SWITCHES


-h, --help
Display usage/help listing.

-V, --version
Display version information.

-b, --verbose
Print verbose output to the screen as well writing to the logfile. When this option
is enabled, most information that would normally be written to the logfile will
also be written to the screen.

-l, --logfile
Specify the path to an alternate logfile. The default logfile file is
/var/log/cback3.log.

-o, --owner
Specify the ownership of the logfile, in the form user:group. The default
ownership is root:adm, to match the Debian standard for most logfiles. This value
will only be used when creating a new logfile. If the logfile already exists when
the cback3 script is executed, it will retain its existing ownership and mode.
Only user and group names may be used, not numeric uid and gid values.

-m, --mode
Specify the permissions for the logfile, using the numeric mode as in chmod(1).
The default mode is 640 (-rw-r-----). This value will only be used when creating a
new logfile. If the logfile already exists when the cback3 script is executed, it
will retain its existing ownership and mode.

-O, --output
Record some sub-command output to the logfile. When this option is enabled, all
output from system commands will be logged. This might be useful for debugging or
just for reference.

-d, --debug
Write debugging information to the logfile. This option produces a high volume of
output, and would generally only be needed when debugging a problem. This option
implies the --output option, as well.

-s, --stack
Dump a Python stack trace instead of swallowing exceptions. This forces Cedar
Backup to dump the entire Python stack trace associated with an error, rather than
just progating last message it received back up to the user interface. Under some
circumstances, this is useful information to include along with a bug report.

-D, --diagnostics
Display runtime diagnostic information and then exit. This diagnostic information
is often useful when filing a bug report.

RETURN VALUES


This command returns 0 (zero) upon normal completion, and several other error codes
related to particular errors.

1 The Python interpreter version is < 3.4.

2 Error processing command-line arguments.

3 Error configuring logging.

5 Backup was interrupted with a CTRL-C or similar.

6 Other error during processing.

NOTES


This tool is a wrapper over the Amazon AWS CLI interface found in the aws(1) command.
Specifically, cback3-amazons3-sync invokes "aws s3 sync" followed by "aws s3api
list-objects".

Cedar Backup itself is designed to run as root. However, cback3-amazons3-sync can be run
safely as any user that is configured to use the Amazon AWS CLI interface. The aws(1)
command will be executed by the same user which is executing cback3-amazons3-sync.

You must configure the AWS CLI interface to have a valid connection to Amazon S3
infrastructure before using cback3-amazons3-sync. For more information about how to
accomplish this, see the Cedar Backup user guide.

Use cback3-amazons3-sync online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad