Editing ClipBoard Help File

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 71: Line 71:
 
*Using the GUI see: [[ClipBoard GUI]]
 
*Using the GUI see: [[ClipBoard GUI]]
  
== More Info Here ==
+
== Setup for Backup ==
 +
There are several different way to use the program, varying in part on how much you setup in parameters.py and how you structure your backups.  I generally set it up with a small program in the directory that I wish to backup, then to run the backup I go to that directory ( with a file manager ) and double click the file.  This is what I will describe here.  There are a lot of small variations you can make to how you run it and locate the files, you can probably figure many of these out yourself.
 +
 
 +
=== Manually Configure the Backup ===
 +
 
 +
*Copy the file _sample_backup.py from your download of the program and drop it in the source directory.  Lets say the name of this is  ....../my_important_files.
 +
*Set up a backup location somewhere on your computer or network.  It should be named  ......./my_important_files.  You need to set up this directory manually because the backup program checks this name to make sure you do not backup to the wrong location by mistake. Of course once this is setup it is done for good for that directory and backup configuration.
 +
*The application comes with some sample files to be backed up and a backup location for them.
 +
*For the rest of the setup read the file _sample_backup.py ( or your copy of it ) and then run it.
 +
*Look at the display in the GUI for the setting the program is using, and if Ok then run the backup. See: [[Backup GUI]] for more info on the GUI
 +
*After it has run take a look at the log files ( you can do this from the GUI once you configure parameters.py for your text editor of choice.
 +
*_sample_backup.py will run pretty much the same no matter where it is located on you disk, except you may find the python log file left in the directory with _sample_backup.py
 +
 
 +
=== Minimally Configure the Backup ===
 +
 
 +
*Edit parameters.py to default:
 +
**default_name = {default name for the backup}     
 +
**log_detail_fn = {file name for the detailed log}
 +
**log_summary_fn = {file name for the summary log} 
 +
*Now look at the file _sample_backup_2.py for more documentation, pretty much all you have to set is the source and destination.
 +
*Program runs like _sample_backup.py, see above.
 +
 
 +
=== No Configruation of Backup ===
 +
In this mode the the location of the backup.py file determines the source directory and parameters.py computes a destination.  In my setup many files come from my D: drive and go to a network location rooted at I:\Data.  So I use a method in the backup.py file to compute the destination......
 +
 
 +
Code in _sample_backup_3.py and the shipped parameters.py as  parameters.set_source_here() look at these files.
  
 
=  How to Use the Parameter File =  
 
=  How to Use the Parameter File =  

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)