(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
and continue your work there. Thank you.

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Jan 2021, 02:30
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Pbackup 3.1.9-1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 20 [293 Posts]   Goto page: 1, 2, 3, ..., 18, 19, 20 Next
Author Message

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

PostPosted: Wed 13 Sep 2006, 05:50    Post subject:  Pbackup 3.1.9-1
Subject description: 11.Aug 2013

Pbackup ... one-button-backup

So, here it is - version 3.
After one year Pbackup has become nothing else but an ordinary backup system, - except the size.
A standard featured backup system in 30 kb. It's not too many of the kind.

Since last stable release (2.4.4), the major news is:
- Backup to FTP-server.
- Restore function.
- Wizard for setting up a backup.
- Free scheduling.
- Chain backups in gui-mode.
- Tweaked for multiuser support.
For more details, see complete changelog in the next post.

On the road to 3.0.0, I've not been alone. Special thanks to testers for suggestions and feedback. PaulBx1, Veronicathecow, GeoffS have been incredible helpful.
At the moment, there are not plans for new features, just to keep the code in shape. If we get a new gtkdialog, I guess there will be some gui improvements. But if you have any good ideas, I promise to listen. My main point with Pbackup is not to have an advance backup system, but a system for "everyone". You shouldn't start trembeling after looking at the main window. Backup is basic - let's keep it simple. One year - still one-button-backup

Sigmund Berglund

- 3 backup types (Backup recent files, Full backup, Sync)
- Save to CD / DVD / FTP / Harddisk / Flash ...
- Build backup jobs for scheduling or run manually
- Restore backup files
- Chain several backups
- Inspect - simulate backup
- Compress result
- Minor size and minor requirements (all in Puppy)
- language support
- Documentation and wizard

- If running older Puppy version than 2.15, you'll need to install the new gtkdialog
- What about using this crap in another distro?
- see Pmirror for alternativ mirror utility.

username: puppy
password: linux

Pbackup-3.1.9-1 (33 kb).

Last edited by zigbert on Sun 11 Aug 2013, 15:37; edited 134 times in total
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Wed 13 Sep 2006, 06:11    Post subject:  

Edit: 15. sept. 2006 - version 0.2
- Function to mirror 2 directories. Requires mirdir package (19kb) (pupget).
WARNING! Be careful with this function. It's only tested by me, and that is not enough to confirm it works perfect.
- Fix of date failure.
Edit: 17. sept. 2006 - version 0.3
- Burning to DVD.
- No limits with directory levels (thanks to Ted dog).
- Gui upgrade.
- Futher testing. Works stable for me. Please test.
Edit: 11. dec. 2006 - version 0.4
- Mirdir is seperated to own program - PuppyMirror.
- Cleaner look.
- Able to save files also to harddisk.
- Some minor bugfix.
Edit: 12. dec. version 0.4.1
- Easier interface
- 2 minor bugfix
Edit: 13. dec. version 0.4.2
- Added icon
- Small improvements
Edit: 19. dec. version 0.5
- possible to burn multisession (CD / DVD)
- possible to simulate CD-burn
- Backup to HD makes directory-tree (not dump all files in one dir)
- Cleaner gui when including sub-directories
Edit: 30. dec. version 0.6
- Mirror function - syncing directories / partitions. (complete internal function - NO need of MIRDIR)
- Quiet mode. Possible to run scheduled backups.
- More graphics. Now 1 big (72 pix) and 3 smaller icons (48 pix) instead of the old one - but still same size. (6 bits colordepth - still very nice after hard tweeking.) See picture.
- Heavy code-cleanup (same size - more features). The size of the script has had same size since version 0.3
- Better error-checking (but not complete)
- Bugfix: Calenderday
- Bugfix: Not write config when simulate burning
Edit: 31.dec. version 0.6.1
- Windows now matches fonts in the new 2.13 (Sorry - I forgot Embarassed )
Edit: 31.dec. version 0.6.2
- Bugfix: reporting after finished backup
- Bugfix: error: No DVD inserted
Edit: 1.jan. 2007 - version 0.6.3
- Bugfix: Save settings
Edit: 4.jan. 2007 - version 0.7
- Compress backup result.
- New box: Advanced options.
- Jouliet burning (optional).
- Option to write config file manualy.
- Auto upgrade of configs from earlier versions.
- Bugfix: Mirror all 3 backup directories.
- Bugfix: Change directories.
- Bugfix: Kill Rox-filer, eject disc.
- Bugfix: Multisession DVD starttrack.
edit 4.jan 2007 - version 0.7.1
- Bugfix: Backup to HD, no compression --> Problem when savedir is root of partition.
- Bugfix: Heavy output to terminal when backup.
edit 7.jan 2008 - version 0.8
- Option: Possible to have a seperate config-file when running quiet.
- Option: Follow symbolic link. In fact, earlier version didn't handle symlinks at all.
- Option: Set mountpoint to CD/DVD.
- Workaround: Multisession - Change settings between sessions.
- More error checking.
- Bugfix: Unstable mirror function (many small improvements).
- Bugfix: Version upgrade.
- Bugfix: Output to terminal in quiet mode.
Edit 9.jan 2007 - version 0.9
- Gui upgrade to GtkDialog.
- Speed up removing files from mirror.
- Backup now has same attributes as source (time, owner...).
- Days since last backup are at least set to 1. Two backups in one day is then possible.
- Bugfix: Mirror all 3 backup directories. (I thought I have fixed this before).
Edit 11.jan: version 0.9.1
- Minor GUI improvements.
- A sort of manual.
- Error msg: Jouliet error.
- Bugfix: Turn off "Follow symlink" prevent endless loop (symlink points back to backupdir (wine 09.2Cool).
- Bugfix: Show info file exit program on next command.
- Bugfix: Follow symlink = off --> Symlink will now be burned to CD/DVD.
- Bugfix: Change settings beetween sessions for DVD.
Edit 12.jan: version 0.9.2
- 'Error dialogbox' shows logfile for easier debugging.
- 'Finished dialogbox' gives option to not save updated settings to config file.
- Bugfix: Burn backup from non-unix filesystems.
- Bugfix: simulate = on - write config atfer burn only if media is CD.
- Bugfix: Gzip will overwrite files in existing tgz file. Will mostly occur when backup twice a day.
- Minor Bugfixes.
Edit 15.jan: version 0.9.3
- No output if quiet mode succeed. This prevent cron giving annoying message or mail when backup frequently.
- Bugfix: 'Follow Symlink' now works retroactive. Mirror will update all symlinks/files.
- Bugfix: Mirror = on. Delete outdated files with filenames containing 'spaces'
- Bugfix: Backup to HD, uncompressed. Symlinks in backup are no longer broken.
- Bugfix: Backup to HD, uncompressed. Symlink-dir can also be 'Followed'.
Edit 16.jan: version 0.9.4
- Delete trashfiles before backup. couln't get 'mv' to overwrite existing dirs.
- Error check: Is it possible to access mirror dir?
- Possible to enter date manually.
- Bugfix: Delete tgz-image when tmp dir is other than /tmp/.
- Bugfix: Close rox after simulated burning.
Edit 17.jan: version 0.9.5
- Bugfix: Backup to HD, compressed - *.tgz file was deleted after backup had finished. (Thanks to brad_chuck).
- Bugfix: Start program could fail if any config-value became equal to any config-description
- Bugfix: Now there is s an error msg 'No files to backup' also at compressed backup. No *.tgz, if no files to backup.
24. jan. version 1.8.0
- Flexible search for files
--> Not limited to 3 different dirs. Search as many as you like.
--> Narrow search of files (for instance your photos - *.jpg).
--> Exclude both files and directories from search.
- Upgraded Mirror
--> may use all search options, (also 'find name' and 'exclude')
- Option 'search only'
--> Inspect backup files before saving.
--> Builds symlinks in /tmp/searchresult/
- Schedule GUI.
--> Profiles for backup every minute, day, week.
--> Link to Gcrontab.
--> Start cron at boot.
- History log.
--> Every successful backup is logged to file /root/.puppybackup-history.
--> Shows in tab 'history'.
--> Button: 'Clear history'
- Function: 'Show default settings'.
- Bugfix: Handles empty directories over all.
- Still 20 kb.
29. jan. version 1.9.0
Startup info: 'Scheduled backup i active'.
Button: Get settings for quiet mode.
Bugfix: Max one crond in /etc/rc.d/rc.local.
Bugfix: Mirror with advanced search options.
Bugfix: Save content of 'exclude'.
31. jan. version 1.9.1
Bugfix: Include subdir in default search.
Bugfix: Do not write history when 'write settings to config'.
Bugfix: 'Search only' overrides all other options.
Bugfix: 'Search only' goes back to false atfer search.
Bugfix: Change Temp dir and mountpoint.
Bugfix: Date failures when mirror checkbox is turned on.
1. feb. version 1.9.2
Bugfix: Corrected syntax in history.
Bugfix: Mirror update. Problem with date setting.
Bugfix: Mirror removed files with " " (space) in name.
Bugfix: Mirror now removes several levels of empty dirs.
Bugfix: Prevent PuppyBackup to execute 2 backups at same time.
6. feb. version 1.9.3
Upgrade manual
Bugfix: 'Search only' doesn't overide 'mirror'.
Bugfix: Exclude files crashed mkisofs
Bugfix: Exclude files from backup when filenames contains spaces.
11. feb. version 1.9.4
Bugfix: Error: "Another PuppyBackup is already running".
15. feb. version 1.9.5
Bugfix: Error when trying to set date earlier than 1970.
Bugfix: Cut date-setting when making mirror.
Removed all internal icons, using only puppy builtin.
1. mar. version 1.9.6
- Gui upgrade. Now using gtkdialog3.
- Option: Should mirror contain all leading paths, or begin filestructure at selected directory.
- Option: Keep trashfiles from mirror.
- Option: Write history log.
- Option: Allow automounting.
- Warning: Files in mirror is newer than source.
- Warning: Risk when 'leading path' is activated.
- Warning: When trying to copy into /mnt/ without a mounted disk.
- Error: Can't burn mirror.
- Minor improvements
- Bugfix: Start scheduling with new settings missed a button in dialog.
- Bugfix: Start scheduling didn't show up in infofield at once.
2. mar. version 1.9.7
- Help-file improvements.
- Bugfix: Warning, "Leading path is deactivated".
9. mar. version 2.0.0
- Help file improvements (thanks a lot to PaulBx1).
- Some gui improvements.
- Bugfix: Mirror didn't handle symlink directories.
- Bugfix: Compressed backup to harddisk.
11. apr. version 2.1.0
- The biggest news is the option to build and save backup jobs. Then later, run them manually or at a specified time-schedule. Also, you can set up several jobs at the same time, and Pbackup will chain all jobs to one operation. It is also possible to chain jobs manualy. (pbackup -q "job1" "job2")
- Inspect mode. See what Pbackup intend to do witout doing a real backup.
- More advanced mirrorfunction. Mirdir co-operates with builtin mirror. Gives faster and more accurate mirrors (feature to check all attributes, not only ctime as before).
- Full backup is now available. Date is set to 1/1/1970, and all files in specified dirs are saved.
- Alternative save-to-date when backup recent files. Default is still today. Useful to split heavy backups.
- Mirror trash can be saved in safe place. Default is inside /tmp/ and will be deleted at boot.
- Gui has been simplyfied.
6. may. version 2.2.0
- Language support
- Mirror is now changed to SYNC. This because of new feature to choose what to do when file in save-to dir is newer than save-from dir. Sync is also a more common term.
- Mirdir is removed yet another time. It is just not flexible. The internal mirrorfunction now compare attributes, and has got a real speed-up.
- Syncing files to different filesystem should now mostly work. There is an optional warning if system detects different filesystems.
- Menus
- Helpfile upgraded
- Option: Update symlink. Symlinks in source and target is not equal, but both are now working. If restoring links, they will only work if this option is set to false. So, False for backup, True for syncronize. Not working retrospective. The workaround is to first 'Follow symlink', then not. This will update all symlinks.
- Finish_dialog is cleaned up.
- History dialog.
- Possible to set Filemanager. Default is 'rox'
- Reset setting: If gone lost in settings, get back default.
- Enviromental $HOME is used overall. Possible to run as other users than Root.
- Bugfixes
8. may. version 2.0.1
Bugfix: Backup to HD, uncompressed, fails when filename contain sapces.
9. may. version 2.3.0
- New file/dir-chooser dialog (gtk2)
- Dialog to choose which file you want to remove from list ('save-from' and 'exclude'). Also an option to remove all items from list.
- Bugfix: Backup to HD, uncompressed, fails when filename contain sapces.
- Bugfix: Troubles with Sync, and symbolic links.
- Bugfix: Troubles when 'Save-to' (HD) points to a directory with spaces in name.
- Bugfix: About-dialog didn't find about-info after changing language.
9. may. version 2.3.1
- Bugfix: Syncing several directories in one operation
- Renamed menuitem 'Save job' to 'New job'
9. may. version 2.3.2
- The xdialog logbox has become a bottleneck. Now redesigned for speed-up.
9. may. version 2.3.3
- When running inspect mode, 'From date' should't change.
- When running inspect mode, the finish dialog didn't show inspected files. (They were only shown in logbox)
12. may. version 2.3.4
- Click on job in 'jobfield' to load its settings
- default 'save from' changed from /root/ to /root/my-documents/
- Added menuitem 'Save job' - correspond to 'New job'.
- Show default command string when choosing filemanager. Clicking OK with a empty entry, and you wont have any filemanager linked to Pbackup.
- checkbox: Save settings and status for job 'name'
12. may. version 2.3.5
- Bugfix: New job / Save job didn't make a job (bug from version 2.3.4)
16. may. version 2.4.0
- The long awaited Kill-process-button has arrived.
- Using only gtk2 stock icons
- Temporary directory is moved from backup-tab to configure-menu.
- Quit button - Closing program via JWM doesn't kill process???
- Bugfix: Closing file/directory chooser from windowmanager failed when target should be dir.
01. july. version 2.4.1
- Stable release
- French translation
- Minor improvements
02. july. version 2.4.2
- Bugfix: choosing HD-path for backup target.
03. july. version 2.4.3
- Removing FTP from menulist. It will come back later.
04. july. version 2.4.4
- Bugfix: If not defined name of new job, it used active job.
15. july. version 2.5.0
- Restore - Browse or search for files in history log.
- Backup to FTP server.
- Chain jobs - Combines several jobs.
- Recovery wizard
- 'Save to' field can hold both directories and files. Running Sync with defined file gives error.
- Removed field for active job. Icon (red ball) in job-list instead. Menuitem: 'View active job'.
- Changed name of backup-dir to sort better, and to include time. Now 'YYYY-MM-DD_HH:MM:SS'.
- Redesinged several dialogs.
- Splash window.
- Do not overwrite default job when upgrading Pbackup.
- Some speed-up when rendering main window.
- Dependency-check before using cdrecord, mkisofs, growisofs, curl, wget.
- Added 'Cancel button' in dialog 'remove from list'.
- More complete info during compressed backup.
- Bugfix: remove image (/tmp/pupbck.img) when temp storage get full, and shows error.
- Bugfix: Show calender for 'backup to date'.
- Bugfix: Delete temporary *.tgz file after backup.
20. july. version 2.5.1
- wget is not longer needed. Curl is used for both upload and download.
- Bugfix: Copying files to VFAT. (thanks to GeoffS)
- Bugfix: Automount when syncing.
- Bugfix: Default value of 'Act on files recent created or changed in Save-to'
- Bugfix: Automount = ON: Don't unmount HD if it was mounted when Backup started. (thanks to GeoffS).
- Bugfix: Be sure FTP-directory ends with a /.
23. july. version 2.5.2
- Bugfix: Error message if curl can't find path on ftp server.
- Bugfix: Automount - Let's try once more to get this working.
29. july. version 2.6.0
- New dialog for scheduling job. Presets and FREE scheduling.
- Redesigned 'Recovery'. It now points to 'Pudd'
- Message: Overwrite jobs?
- Moved 'about' info from its own dialog to helpfile.
- Check if another instance of puppy exist. View dialog if so.
- if no changes since last 'backup recent...', status is set to 'Status quo' instead of 'Error'
- Bugfix: Check if jobname is valid when running quiet mode.
- Bugfix: Complete info to history log after quiet mode.
- Bugfix: Cancel-button in dialog 'choose jobs to Chain'.
10. august. version 2.7.0
- General facelift of dialogs. Unify the look of them.
- Allow several instances of Pbackup to run at the same time. (thanks to MU - Mark Ulrich)
- Wizard to create new job.
- Should now work if user is not 'root' (not tested).
- Localize the few Xdialog boxes that are left.
- Updated some of the helpfile.
- New and reorganized menues
- Probedisk not longer required. (Thanks to Dougal and Barry for code.)
- Move locals from /root/ to /usr/local/pbackup. Locals are static, and has nothing to do in $HOME
- Better autodetection of default CD-writer
- Bugfix: Excluded files.
- Bugfix: Text in dialogbox 'Set filemanager'.
- Bugfix: Syncfiles are not to be restored.
- Bugfix: Don't save to pbackuprc after quiet mode. This keeps one-button-backup when scheduling.
- Bugfix: Set schedule built strange empty files in /var/spool/cron/crontabs/root/.
17. august. version 2.9.0
- Some upgrades in helpfile and LANGUAGE file.
- Updated Norwegian translation.
- Bugfix: Give job a name after a simple wizard.
- Bugfix: Complete language-change at once.
22. august. version 2.9.1
- Check if Pbackup has permission to start cron. --> error.
- Doesn't use 'kill' to get rid of splash. It exits itself.
- URL is selectable in about-box.
- gxmessage not longer required. Helpfile use installed browser instead.
- Script-files doesn't need to be in /usr/local/pbackup.
- Added GPL license info.
- Bugfix: Better multiuser support. No files needs root-access. (thanks to plinej)
- Bugfix: Norwegian wizard missed when showing backup options.
- Bugfix: Errorcheck 'Can't access backupdirectory'.
- Bugfix: If 'go back' after error/warning, dirnames with spaces shows corrupted.
- Bugfix: Kill splash when running Pbackup in distro not using busybox.
- Bugfix: 'quit' killed all instances of Pbackup.
- Bugfix: Select schedule after wizard advanced.
6. september. version 3.0.0
- Not delete active job.
- Moved GPL-text from helpfile to 'about'.
7. november. version 3.0.1
- Refined function to select files/dirs to include/exclude.
- Japanese translation. Thanks to Jimmy Lu (nyu).
- Changed 'find'-syntax from -ctime to -mtime. More compatible with other filesystems (thanks to Geoffs)
- External cron-editor is changed from gcrontab to Pschedule.
- Got rid of some messages to terminal when running quiet mode.
- Moved crond from /etc/rc.d/rc.local to $HOME/.xinitrc to coexist with Pscedule and Pdrive_deamon.
- Bugfix: Radiobutton to select 'schedule weekly' missed time in description.
- Bugfix: Be sure item in crontabs is owned by Pbackup before spesify schedule.
- Minor code cleanup.
24. december. version 3.0.2
- Improved code for setting html-viewer (Thanks to Dougal)
- Moved translators and contributers to 'about'
- Autoselect button in dialogs.
- Pbackup enviroment variables is put first in /usr/local/pbackup.
- Crond is now autostarted from ~/Startup, instead of ~/.xinitrc.
- Bugfix: accept symlinks to dir for choosing temporary storage.
- Bugfix: remove item from 'save-from' doesn't accept spaces in filename.
- Bugfix: symlink to dir is not accepted by 'sync' function
- Bugfix: restore file from CD/DVD.
- Bugfix: resore all in backup.
24. january 2008 - version 3.0.3
- Use enviromental variable LANG to autodetect language. (Thanks to MU)
- Bugfix: Allow special chars in input-dialog.
- Bugfix: Always show correct filename (with space) in 'save from'.
06. May 2008 - version 3.1.0
- Chains are now editable.
- Some enhancements in restore/history gui.
- Change main settings without rerender window.
- Added parameters -v (version), -h --help and -r (reset).
- Code of dialog boxes are now put outside main func-file to its own files.
- 'Job' has been renamed to 'Task'.
- Use defaulthtmlviewer as default help-file-viewer.
- Sort checkbox list (add tasks to chain).
- Do not show chains in checkbox list (add tasks to chain).
- Bugfix: Cron-check in /root/Startup to avoid several running instances of crond after restart X.
- Bugfix: Remove from list (minus-button) checks for only whole words.
- Bugfix: Output to terminal when running backups in chain in quiet mode.
- Bugfix: Show schedule-dialog in the end of advanced wizard.
- Bugfix: Sort content of 'delete-list'.
- Bugfix: Visible of 'alternative save-to date' when moving mode from 'sync' to 'backup recent'.
- Bugfix: New backup.desktop file (Thanks to disciple)
18. May 2008 - version 3.1.1
- Cleanup output to log during sync.
- 'Kill backup process' has become 'Emergency STOP'.
- Bugfix: Exclude from backup failed (thanks to dcbevins).
- Bugfix: Sync failed when more then 1 directory in 'save from'.
24. Aug 2008 - version 3.1.2
- Support cdrkit or cdrtools
- Moved workdir from /tmp/ to $HOME/.pbackup/tmp/
- Bugfix: Emergency STOP worked only partly
- Bugfix: Wizard didn't set scheduling of task.
- Bugfix: Redirection of 'cat' in Puppy 4.1.
1. Sept. 2008 - version 3.1.3
- Some code cleanups
- Add info imediatly to log. - to show progress when working with huge amount of datas.
- Improved CD burning command.
- Bugfix: Installation failed
- Bugfix: Sync didn't remove files in target dir if removed in source.
- Bugfix: Some values in profile were not saved in profile.
- Bugfix: Show full log-info in finish window.
- Bugfix: Emergency stop
20. Sept. 2008 - version 3.1.4
- Reload CD/DVD disc before finish dialog to ensure fresh filesystem status when mounting (Puppy 4.1 issue).
- Bugfix: Kill func_logbox after backup.
25. Dec. 2008 - version 3.1.5
- Spanish translation (thanks to Pedro Worcel (droope))
- Bugfix: running with -q switch always reported error (thanks to PaulBx1)
- Bugfix: TMPDIR can store nothing (thanks to kuapao)
- Bugfix: setting TMPDIR needed restart of Pbackup to take effect.
2. May. 2009 - version 3.1.6
- Autodetection of all languages in ISO 639-1.
- Bugfix: kill pid when close window.
- Bugfix: better text-rendering in logbox when burning.
28. Jun. 2009 - version 3.1.7
- Bugfix: increased startup sleep value.
- Bugfix: App killed at startup if xwinifo misses. (thanks to sketchman)
- Bugfix: Use english helpfile if active language lacks help.
3. Aug. 2009 - version 3.1.8
- Bugfix: Restore (thanks to bkenn)
- Bugfix: pbackup -q fails with the loop in /usr/local/bin/pbackup.
- Bugfix: ftp-window didn't show up if any ftp-variable hold null. (thanks to kuapao)
- Bugfix: Ensure ftp prefix ftp://. (thanks to kuapao)
30. Aug. 2011 - version 3.1.9
- Bugfix: return value of fileselect dialog - gtkdialog 0.7.21 (thanks to BarryK)

Last edited by zigbert on Tue 30 Aug 2011, 13:20; edited 51 times in total
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Fri 15 Sep 2006, 04:37    Post subject:  

mkisofs seems to have a limit to build dir-structure of max 6 levels. This is a problem for both bk2cd and puppybackup. This is an important issue with priority (I need this feature).

When upgrading to Puppy 2.10 I noticed the mirdir (19k) package. It mirrors 2 directories. This should be integrated into the backup script, but it will need a smart reconstruction of the gui. It MUST be simple to do backup. Mirdir itself seems to be very simple, but no gui.

Last edited by zigbert on Sat 30 Dec 2006, 13:56; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Ted Dog

Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Fri 15 Sep 2006, 07:08    Post subject: my mini script. for DVD's  

rm /etc/.XLOADED
for ONESFS in `ls -1 /initrd/pup_rw/*.sfs | tr "\n" " "`
MYDATE="`date "+%Y-%m-%d-%H-%M"`" #this will become the folder name on cd.
touch -c /.badfolders #update modifytime, so will get saved.
growisofs -M /dev/dvd -D -R -new-dir-mode 0755 -graft-points -x /initrd/pup_rw/tmp $REMSFS -x /initrd/pup_rw/proc -x /initrd/pup_rw/var -x /initrd/pup_rw/initrd -x /initrd/pup_rw/mnt ${MYDATE}=/initrd/pup_rw

You need to use the -D for deeper than 6 level directories
Back to top
View user's profile Send private message 

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

PostPosted: Fri 15 Sep 2006, 17:22    Post subject:  

Ted dog. Thanks for knowledge.

I have just uploaded version 0.2 with possibility to mirror directories / disks. Right now it's bedtime, so I will wait before I look in detail at your growisofs code. Puppybackup uses mkisofs, and that is maybe a bad choice. Sleep well.
But once again, I'm very thankful.

Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Sun 17 Sep 2006, 10:43    Post subject:  

Version 0.3 is uploaded. See main post.
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Mon 11 Dec 2006, 17:34    Post subject:  

I have made a seperate gui for mirdir - PuppyMirror http://www.murga-linux.com/puppy/viewtopic.php?t=13606

The mirdir function is removed from PuppyBackup 0.4 to make a cleaner look. - picture in main post. But there is also new functionality...You can save recent files to CD / DVD, but also to a given directory on Harddisk.

Download link in main post.
Back to top
View user's profile Send private message Visit poster's website 

Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Mon 11 Dec 2006, 20:57    Post subject:  

I thought of adding a selfwritten wxBasic backup-program to Muppy 007, but I think your program is more effective, so I'll add that.

http://www.freewebs.com/markulrich/ (Fastbackup 03)
It also would need an update, so it would save me time to use your solution Smile

Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Tue 12 Dec 2006, 15:13    Post subject:  

MU you have helped me SO many times.
Glad I can give something back.
That is community. isn't it?
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Tue 12 Dec 2006, 18:31    Post subject:  

Version 0.4.1 is uploaded. See main post.

Mostly GUI stuff. Big cleanup and an easier interface. (pic in main post)

It's still Xdialog. Not reached the gtk-stage yet. Maybe it never will. What do YOU think?.

Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Tue 12 Dec 2006, 21:42    Post subject:  

Version 0.4.2 is ready for download in main post.

- Added icon (20 kb - that costs......Is it worth it?)
- Small improvements

I think this edition will stand for a while. But who knows? Another sleepless night, and I'm back again.
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Tue 19 Dec 2006, 17:22    Post subject:  

Version 0.5, see main post

It is now ready for multisession. It is not default, because of higer security risk. But the user should choose how to backup, not me. Embarassed

The Backup-to-harddisk is now making a complete file-tree of choosen files. It is first now REALLY working Embarassed

Else, let's be happy Laughing
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Sat 30 Dec 2006, 14:36    Post subject:  

Version 0.6 is uploaded
See main post

There are some issues in PuppyBackup I need help with.
If you have the skills, please let me now.

Question burning does not support Jouliet.
Problem is that mkisofs renames files to support Jouliet. If you are unlucky, then you will get 2 files with similar name, mkisofs is then unable to sort and fails to create an image.
Question '-o *.img' (mkisofs options) is not allowed in growisofs.
How to set work directory for growisofs. By default Growisofs uses /tmp/ to hold image-data. The internal Puppy filesystem is often small, and burning DVD's can give troubles.
Question I want to read a textfile line by line, inside a loop. Every time the loop is running it should catch the next line in the textfile.
I see 2 defferent ways of doing it
1. Grep anything, and it will find first line. Then remove first line.
'Cut' can remove first line, but want work in a loop. Only first time loop is running, cut is working.
'sed' is working realtime, but I want sed to use a variable, and my variable holds '/', and sed doesn't like that. Renaming content of variables, then sed, then rename back is slow.
2. Another solution is to catch a specific line in the textfile. But I havent found any commands for this.

Help a newbie Very Happy Very Happy Very Happy

Thanks, Sigmund
Back to top
View user's profile Send private message Visit poster's website 

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

PostPosted: Sat 30 Dec 2006, 22:29    Post subject:  

Puppybackup 0.6.2 - some bugfixes
Back to top
View user's profile Send private message Visit poster's website 

Joined: 03 Dec 2005
Posts: 295

PostPosted: Sun 31 Dec 2006, 00:59    Post subject:  

An additional possible use of this system for those of us who use flash drives...

For about a year now I've been using my own rough script (with rsync) to regularly mirror (every minute) some of my files on a backup file on the hard drive when using my pen drive. I still get the portability of the flash drive (which I use on six or seven different computers) while having this system running on two of those six computers to keep a backup. Since many of these computers don't have proper UPS's (and besides I have had the rare experience of a crash with Puppy), this has saved me multiple times when savepuppyd has not yet saved files to the flash drive, but the computer has crashed or lost power. The script auto-detects whether an image file exists to mirror to and starts up automatically from rc.local.

Anyway, just as a note to say that Puppymirror / PuppyBackup - which look great - could be used for similar functionality by those of us who have pen drives... believe me, it has saved my life...
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 20 [293 Posts]   Goto page: 1, 2, 3, ..., 18, 19, 20 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

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