GithubHelp home page GithubHelp logo

carbon-copy-cloner-remote-destination-cleaner's Introduction

Carbon Copy Cloner Remote Destination Cleaner

Information

Carbon Copy Cloner doesn't provide the ability to purge the safetty net folder on remote backup destinations causing them to become very large and prevent backups if the disk runs out of space.

This script deletes folders that are 2 months old and are not from the last day of the month. This means that there is a archive of backups.

When you run it for the first time it will only delete the folders from 2 months ago so you will need to manually delete the others or change thescript.

For the script to work the user running it needs read&write permissions for the _CCC SafetyNet folder and the folders within it.

To use:

  • Make sure the user running the script has read&write permission for the destination folder
  • Run from terminal - use the command python main.py fromt he folder that it is in
  • If you leave it running it should check the folder at 7am every day

Notes/Thoughts

  • I understand that this isn't the most efficent way to do something everyday it was just the easiest to make - I intend to make it more effiecent in the future
  • There are probably also better ways of keeping something running instead of having a terminal window open all the time too - I also intend to change this
  • It does need to be run on the remote Mac so you would need access to it to set it up

carbon-copy-cloner-remote-destination-cleaner's People

Contributors

jagosw avatar

Watchers

James Cloos avatar  avatar

Forkers

jagoosw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.