Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Dec 2014, 20:45
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Pmirror 0.6.2-1 - mirdir gui - copy (mirror) directories
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Frank Cox

Joined: 01 Nov 2009
Posts: 381

PostPosted: 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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5811
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2386
Location: UK

PostPosted: 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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5811
Location: Valåmoen, Norway

PostPosted: Wed 31 Aug 2011, 15:34    Post_subject:  

Thank you scottman - Now fixed.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3433
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3433
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3433
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5811
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3433
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3433
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5811
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5811
Location: Valåmoen, Norway

PostPosted: Mon 10 Sep 2012, 10:07    Post_subject:  

Version 0.6.1
See main gui

Bugfix: missing icons

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
papos


Joined: 21 Dec 2006
Posts: 120
Location: france

PostPosted: 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
View user's profile Send_private_message Visit_website 
papos


Joined: 21 Dec 2006
Posts: 120
Location: france

PostPosted: 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
View user's profile Send_private_message Visit_website 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0773s ][ Queries: 12 (0.0069s) ][ GZIP on ]