Author |
Message |
Frank Cox
Joined: 01 Nov 2009 Posts: 381
|
Posted: Tue 30 Aug 2011, 22:41 Post subject:
What does this do? |
|
zigbert wrote: | Version 0.5
See main post |
What does that code do Zigbert?
Thanks
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 31 Aug 2011, 01:21 Post subject:
|
|
mirdir (Pmirror is a gui for it) is a tool that allows you to synchronize two directory trees in a fast way. Only the differences between the two sets of files are copied while the excess files/directories in the destination tree are removed (unless there was an explicit request to keep them).
_________________ Stardust resources
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2572 Location: UK
|
Posted: Wed 31 Aug 2011, 14:47 Post subject:
|
|
in 0.5, /usr/local/bin/pmirror contains only:
Code: | #!/bin/bash
gxmessage hei |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 31 Aug 2011, 15:34 Post subject:
|
|
Thank you scottman - Now fixed.
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4988 Location: Ontario
|
Posted: Tue 10 Apr 2012, 15:31 Post subject:
|
|
Would you consider improving pmirror?
For instance your help text says --->
'Pmirror is a simple backup system to make one like another.'
...but what if you choose a partition to backup to.
There is a warning but it's confusing.
Could you rewrite the app so that you can't choose a partition.
Only a folder should be the destination.
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4988 Location: Ontario
|
Posted: Tue 10 Apr 2012, 15:37 Post subject:
|
|
Here's a modern GUI version of rsync that you should inspect
for ideas
http://everythinglinux.org/rsync/
___________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4988 Location: Ontario
|
Posted: Thu 12 Apr 2012, 20:34 Post subject:
|
|
I've been trying to use pmirror and finally I was able to get it
to work.
The trick was to make sure that the exception file was set.
I set it to the mirror folder and now any changes to the
mirror folder will transfered.
The error message was confusing. It said something about a
configuration file.
I have three suggestions
1) It should be combined with pschedule so that
a nightly backup would be done automatically.
2) The version number needs to be shown somewhere.
3) Change Line 127 from 'logbox' to 'editbox'
so info can be copied from xdialog window.
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Sat 14 Apr 2012, 00:49 Post subject:
|
|
don570
There should be written a new Backup-app for Puppy. Both Pmirror and Pbackup are unfriendly to user. Pmirror is too limited and Pbackup is a coding mess. The new gtkdialog is capable of giving us a much better gui....
Pbackup is my first bash-script ever, and it has simply grown out of its own skin. The initial idea wasn't good enough....
_________________ Stardust resources
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4988 Location: Ontario
|
Posted: Sat 14 Apr 2012, 12:47 Post subject:
|
|
I like simple backup programs. I don't even need to put in exceptions.
Now that I know how to use pmirror it's fine. I just leave 'none'
in 'exception file'
It's rather confusing to call it 'exception file'
A better English word to use is 'exclude' or 'exclusion list'.
I doubt that anybody is using pbackup because it's too complicated.
Recently both Scottman and Pemasu lost entire
hard drives full of important work that they weren't backing up.
______________________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4988 Location: Ontario
|
Posted: Wed 18 Apr 2012, 19:48 Post subject:
|
|
I made changes to Zigbert's pmirror and released it as
Puppy Backup. Some versions of Puppy don't work with
my fork. Apparently it is a bug with the <input> tag
http://murga-linux.com/puppy/viewtopic.php?p=621168#621168
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 03 Sep 2012, 11:52 Post subject:
|
|
Version 0.6
See main post
Changelog
- Gettext for NLS (thanks to rodin.s)
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 10 Sep 2012, 10:07 Post subject:
|
|
Version 0.6.1
See main gui
Bugfix: missing icons
_________________ Stardust resources
|
Back to top
|
|
 |
papos

Joined: 21 Dec 2006 Posts: 120 Location: france
|
Posted: Mon 26 Nov 2012, 13:42 Post subject:
|
|
tested with puppy_precise_lxpup12.12
Pmirror 0.6.1 don't remove file in destination folder
Puppy Backup remove file in destination folder
better is to have the 2 options
Thanks
|
Back to top
|
|
 |
papos

Joined: 21 Dec 2006 Posts: 120 Location: france
|
Posted: Tue 27 Nov 2012, 11:49 Post subject:
|
|
Pmirror 0.6.1 don't remove files in destination folder, this is perhaps better...
take care with optional removing files in destination folder
especialy when you select source directory: /home/datas (for example)
and taget directory /mnt/sdc1/sav
he copy all directories in /datas/ (but don't create a new directory datas even the first time)
in the same time he remove all files that are in /sav and not in datas!!!
better to create a directory files in /mnt/sdc1/sav/datas
and put it at taget directory /mnt/sdc1/sav/datas
*
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Tue 02 Apr 2013, 05:20 Post subject:
pMirror bugreport |
|
Russian forum member vityk have found some bugs in pMirror and have fixed them. One bug does not allow to choose exceptions file at first run and another one makes program unworkable at following runs. Corrected script.
He also advised to include two things in help file:
1. Path to files in Exceptions file should be as if those files are in the destination directory.
2. Empty value of Exceptions file is not allowed. It should be either path or "none".
|
Back to top
|
|
 |
|