Top-rated recipes tagged "backup" Code Recipesdiff_copy.tcl Utility for daily differential backups of large windows directory structures (Tcl) 2017-04-10T13:51:58-07:00John Brearley <p style="color: grey"> Tcl recipe 580779 by <a href="/recipes/users/4184423/">John Brearley</a> (<a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/daily/">daily</a>, <a href="/recipes/tags/tcl/">tcl</a>). </p> <p>When you have terrabytes of data with 100,000+ files, it is no longer practical to blindly copy the entire data structure on a daily basis. I wrote this utility diff_copy.tcl to sort out what has been changed/updated and what new files have been added and only copy the changed &amp; new items. If the date/time of the source file is newer, the file will be copied. If the date/time of the source file is the same as the destination, the file sizes in bytes are checked to decide if a copy is necessary. If the source file is not present on the destination directory, the file is copied. There are options to remove old files from the destination directory or show what would be copied, but not actually do the copy.</p> Twitter incremental backup in YAML format - by HTML get and parse (Python) 2011-09-24T18:09:00-07:00Robert Lujo <p style="color: grey"> Python recipe 577877 by <a href="/recipes/users/4044016/">Robert Lujo</a> (<a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/twitter/">twitter</a>, <a href="/recipes/tags/yaml/">yaml</a>). </p> <p>Yet another script for backing up Twitter posts (statuses). More information can be found <a href="">here</a>.</p> <p>The script is based on <a href="" rel="nofollow"></a>, <a href="" rel="nofollow"></a></p> PostgreSQL database backup script (Python) 2011-07-15T08:27:05-07:00Evgeniy.K <p style="color: grey"> Python recipe 577793 by <a href="/recipes/users/4178635/">Evgeniy.K</a> (<a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/postgresql/">postgresql</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/unix/">unix</a>). </p> <p>Simple script to backup some databases from PostgreSQL on unix\linux.</p> Archiving time series (Python) 2011-04-14T15:39:57-07:00Tyler Grosshuesch <p style="color: grey"> Python recipe 577653 by <a href="/recipes/users/4177659/">Tyler Grosshuesch</a> (<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/timestamp/">timestamp</a>). </p> <p>Copies files and directories periodically to a time-stamaped directory. Used to create a running record of digital files to document change over time.</p> xnview backup files remove utility (Python) 2010-07-06T18:09:43-07:00Denis Barmenkov <p style="color: grey"> Python recipe 577281 by <a href="/recipes/users/57155/">Denis Barmenkov</a> (<a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/cleanup/">cleanup</a>, <a href="/recipes/tags/remove/">remove</a>, <a href="/recipes/tags/xnview/">xnview</a>). Revision 3. </p> <p>Currently XnView image viewer (versions up to 1.97.6) correctly rotate images only when option "[x] make backup" set.</p> <p>Backup files have added name part '.xnbak' before extension:</p> <pre class="prettyprint"><code>original file: IMG0001.jpg backup file: IMG0001.xnbak.jpg </code></pre> <p>Attached script take a root directory in command line and remove backup files created by XnView only when rotated file present in same directory.</p> SyncFiles (Python) 2008-12-13T21:28:57-08:00Collin Stocks <p style="color: grey"> Python recipe 576584 by <a href="/recipes/users/4149235/">Collin Stocks</a> (<a href="/recipes/tags/backup/">backup</a>, <a href="/recipes/tags/consistency/">consistency</a>, <a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/gnu/">gnu</a>, <a href="/recipes/tags/gpl/">gpl</a>, <a href="/recipes/tags/just_in_case/">just_in_case</a>, <a href="/recipes/tags/oop/">oop</a>, <a href="/recipes/tags/pickle/">pickle</a>, <a href="/recipes/tags/state_machine/">state_machine</a>, <a href="/recipes/tags/storage/">storage</a>, <a href="/recipes/tags/sync/">sync</a>, <a href="/recipes/tags/synchronize/">synchronize</a>). Revision 3. </p> <p>This module allows you to handle and protect from inconsistencies sets of files that must all be saved at the same time. It does this be creating backups and temporary files. It has been moderately tested for bugs.</p>