Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from victortrac/master
Browse files Browse the repository at this point in the history
Fixing cron example
  • Loading branch information
sveesible committed May 13, 2016
2 parents b867bce + 1b1f79a commit 0356165
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ Cassandra 2+
###Cron Examples
- Full gzip compressed snapshot every day at 1:30 am with nice level 10

`30 1 * * * /path_to_scripts/cassandra-cloud-backup.sh -z -n10 -b gs://cass-bk123-vCcj -d /var/lib/cassandra/backups > /var/log/cassandra/$(date +\%Y\%m\%d\%H\%M\%S)-fbackup.log 2>&1`
`30 1 * * * /path_to_scripts/cassandra-cloud-backup.sh -z -N10 -b gs://cass-bk123-vCcj -d /var/lib/cassandra/backups > /var/log/cassandra/$(date +\%Y\%m\%d\%H\%M\%S)-fbackup.log 2>&1`

- Incremental gzip compressed backups copied every hour nice level 10

`0 * * * * /path_to_scripts/cassandra-cloud-backup.sh -b -n10 gs://cass-bk123 -vjiz -d /var/lib/cassandra/backups > /var/log/cassandra/$(date +\%Y\%m\%d\%H\%M\%S)-ibackup.log 2>&1`
`0 * * * * /path_to_scripts/cassandra-cloud-backup.sh -b -N10 gs://cass-bk123 -vjiz -d /var/lib/cassandra/backups > /var/log/cassandra/$(date +\%Y\%m\%d\%H\%M\%S)-ibackup.log 2>&1`

### Notes

Expand All @@ -178,4 +178,4 @@ In order to enable incremental backups, the `incremental_backups` option has to
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This is not an official Google product.
This is not an official Google product.

0 comments on commit 0356165

Please sign in to comment.