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 23 Apr 2014, 21:26
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
snap2 rotating snapshot backups for Puppy
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 11 [158 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11 Next
Author Message
edoc


Joined: 07 Aug 2005
Posts: 4309
Location: Southeast Georgia, USA

PostPosted: Wed 25 Aug 2010, 15:38    Post subject:
Subject description: OK to use with Lucid 5.1 and/or Fatdog64?
 

Has snap2 been tested with Lucid 5.1 or fatdog64, please?

I can really use this valuable app but don't want to create the mess I am trying to avoid by rushing in blindly.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Jim1911

Joined: 19 May 2008
Posts: 2445
Location: Texas, USA

PostPosted: Wed 25 Aug 2010, 19:51    Post subject:
Subject description: OK to use with Lucid 5.1 and/or Fatdog64?
 

edoc wrote:
Has snap2 been tested with Lucid 5.1 or fatdog64, please?
It works fine with Lucid, don't know about fatdog64. You'll find it in Lucid under More Pets in QuickPet. However, you need to download lstandish's latest since it has had a few fixes.
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4309
Location: Southeast Georgia, USA

PostPosted: Wed 25 Aug 2010, 20:17    Post subject:  

OK, thanks! Just downloaded 4.16.

Will try to give it a try a little later - have a project I must complete first.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Wed 25 Aug 2010, 22:11    Post subject:  

Thanks, Jim, for answering this.

I worked very hard to prepare my snap2 for inclusion in Debian Linux, and when it was ready I realized that gtkdialog is not to be included in the next Debian. This has really "taken the wind out of my sails," since Debian is my "daily use" distro. However I expect snap2 will survive in puppy as long as gtkdialog is included.

I just installed the latest snap2 (2-4.16) in Puppy 5.1, and it appears the snap2 GUI menu entry is not created - sorry! I will try to fix this soon and make a new release.
Back to top
View user's profile Send private message 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Thu 26 Aug 2010, 02:00    Post subject: Menu problem fixed  

The lack of menu entries is now fixed in snap2-4.17.
Download http://files.lstandish.com/

(The problem was in syntax in the .desktop files for the 2 menu entries. '[$e]' can be used in KDE but not in Puppy.)

_________________
--
Lloyd
snap2 rotating snapshot backups for Puppy/Debian Lenny/Ubuntu
The convenience of full backups with the speed and disk economy of incremental backups
http://standish.home3.org/snap2
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4309
Location: Southeast Georgia, USA

PostPosted: Thu 26 Aug 2010, 10:54    Post subject:  

I seem to be getting a failure.

After the first failure I stopped the process as it was taking way too long and I need to use this laptop.

Can you tell what may be the cause from this log file output, please?

Quote:
Backup run on Thu Aug 26 10:33:46 EDT 2010
Using settings from /root/.snap2/default.set/settings
Using rsync compression
Backing up to: /mnt/sdb1
Snapshot hardlink reference: recent.1

backing up /root/.snap2
Using default file exclusion patterns
sending incremental file list
created directory /mnt/sdb1/recent.0
/root/.snap2/default.set/settings

sent 1255 bytes received 42 bytes 2594.00 bytes/sec
total size is 2508 speedup is 1.93

backing up /mnt
Using default file exclusion patterns
sending incremental file list
/mnt/sdb1/29july2010/Mozilla_Profiles/WasTheDefault/9m0ofn6q.default/9m0ofn6q.default/Mail/mail.kd4e.com/Inbox
/mnt/sdb1/29july2010/savestuff/Mozilla_Profiles/dmc3/9m0ofn6q.default/Mail/pop.secureserver.net/Inbox

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Thu 26 Aug 2010, 11:25    Post subject:  

Hi edoc,

It looks to me like you specified /mnt as a top level directory to back up. snap2 will try to back up all directories under /mnt. Each directory under /mnt is usually an entire partition. Normally you would not do this.

Furthermore, I see the backup storage location is a partition mounted under /mnt (/mnt/sdb1). Unless you specifically "exclude" /mnt/sdb1 from the backup of /mnt, you will be backing up the backup storage in a circular manner, which will probably result in your computer catching fire Very Happy

What are you trying to back up? Did you click the "help" button and read the at least "SNAPSHOT VS MIRROR BACKUPS" topic? What type of backup are you doing, snapshot or mirror?

I think backing up entire partitions is usually unnecessary. Usually it is enough to back up only your home directory (/root in puppy).

_________________
--
Lloyd
snap2 rotating snapshot backups for Puppy/Debian Lenny/Ubuntu
The convenience of full backups with the speed and disk economy of incremental backups
http://standish.home3.org/snap2
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4309
Location: Southeast Georgia, USA

PostPosted: Thu 26 Aug 2010, 13:35    Post subject:  

I did read the help.

I try to keep everything I can that is of value outside of the Savefile so I don't have to fuss with running out of space.

I see that /mnt/home points to /initrd/mnt/dev_save which points to /inode/mount-point ... which is confusing to me ...

Anyhow, here is what I believe I need to save:

Almost everything in /mnt/home/ -- wherever that really is located.

/root/.mozilla/seamonkey/ contains a symlink for my mozilla setup outside of Savefile.

My documents and image files and downloads are all in /mnt/home/

I don't see anything inside of /root/ that is not an app or the OS.

I guess I am not understanding the directory structure and how to be sure that snap2 is properly configured.

recent.1 has /mnt and /root and backuplog.txt.gx (/root contains ./snap2 which contains /default.set which contains /exclude and some files)

recent.2 doesn't include /mnt

recent.3 has only /root and backuplog.txt.gz (and /root has

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Thu 26 Aug 2010, 16:21    Post subject:  

Since /mnt/home/ is a symlink, specifying it as a backup source path will simply create a matching symlink on the storage drive. The data will not be copied.

Likewise, if a symlink is part of a path that is backed-up, anything "under" the symlink is ignored.

This might seem strange, but the idea of snap2 (and rsync) is to be able to restore the machine exactly the way it was, and that means that symlinks should be copied as symlinks, not replaced by the data they point to.

Therefore, if you want to back up /mnt/home, you should name the directory it points to. I think /initrd/mnt/dev_save would work, or /dev/sda6 (or whatever your partition is). (I think these are hard links to the same thing.)

If you back up /root (which is really your Puppy user's home directory), note that subdirectories .etc and .share are symlinks and will simply be copied as symlinks (no data in those directories will be backed up). If you want to back up anything in /root/.etc. or /root/.usr, just specify the "real" path (e.g. /etc/).

The storage directory can be a symlink - no problem.

Note that snap2 duplicates the full directory structure under recent.1 (etc), to make it easy to recover all directories.

Hope this helps.

_________________
--
Lloyd
snap2 rotating snapshot backups for Puppy/Debian Lenny/Ubuntu
The convenience of full backups with the speed and disk economy of incremental backups
http://standish.home3.org/snap2
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4309
Location: Southeast Georgia, USA

PostPosted: Thu 26 Aug 2010, 16:54    Post subject:  

Should I then just delete the existing "recent" folders and start again clean?
_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Mon 24 Oct 2011, 11:54    Post subject: New snap2 shapshot backup version
Subject description: fixes issues with remote authentication
 

24-Oct-2011 (snap2 4.21)
    Fixed issues with remote SSH authentication on 64 bit systems.
    Changed remote SSH authentication detection method to "manual"
    Add "Generate SSH Keys" button to "Advanced" tab.


Note that the previous release just 2 days ago (v4.20) fixed the issue of hanging progress bars on 64 bit systems.

_________________
--
Lloyd
snap2 rotating snapshot backups for Puppy/Debian Lenny/Ubuntu
The convenience of full backups with the speed and disk economy of incremental backups
http://standish.home3.org/snap2
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1274
Location: Malvern, Worcs, UK

PostPosted: Tue 08 May 2012, 10:07    Post subject: Big backups conundrum
Subject description: doesn't seem to be using hard links???
 

lstandish wrote:
Thanks to the use of hard links, it can keep several gigabytes of files on a one-gig USB drive, without compression. Your backups are accessed as ordinary directories and files.


Hi there

Using v4.22 of snap2 on my desktop under Slacko 5.3.3

I've got 2 hdd's on this system and I've setup snap2 to backup at 21.00 each night 2 directories on sda1 to a Backups directory on sdb1 which I mount on each boot.

All seems to be going well except that the backups each night seem to be very large - almost as big as the source directories which I'm not changing all that much.

How can I tell if the hard link mechanism is working? I see no link symbols on any of the files in the recent.* backups.

Is there something I need to set to cause it to use hardlinks?

I've attached an archive with some screenies and also the settings file.

and the recent.1 log - notice it says "Snapshot hardlink reference: recent.1".....

Would love to know what I'm doing wrong....
Thanks for any help
Cheers
peebee

Truncated recent.1 log:
Code:
Backup run on Mon May  7 21:00:01 GMT 2012
Using settings from /root/.snap2/default.set/settings
Using rsync compression
Backing up to: /mnt/sdb1/Backups
Snapshot hardlink reference: recent.1

backing up /mnt/home/Documents and Settings/Peter.ATHOME/My Documents
Using default file exclusion patterns
sending incremental file list
created directory /mnt/sdb1/Backups/recent.0
/mnt/home/Documents and Settings/Peter.ATHOME/My Documents/CAMRA/Guides 2006/Invoices + Sales/Invoice-MHDC.doc
/mnt/home/Documents and Settings/Peter.ATHOME/My Documents/My Money/Bond Expiry Dates.xls

sent 218688 bytes  received 563 bytes  3813.06 bytes/sec
total size is 2456436223  speedup is 11203.76

backing up /mnt/home/Documents and Settings/Owner/Application Data/Thunderbird
Using default file exclusion patterns
sending incremental file list
/mnt/home/Documents and Settings/Owner/Application Data/Thunderbird/Profiles/z7g91mvx.default/.parentlock

sent 57269469 bytes  received 954 bytes  5454326.00 bytes/sec
total size is 339214099  speedup is 5.92
compress.tar.gz
Description 
gz

 Download 
Filename  compress.tar.gz 
Filesize  113.97 KB 
Downloaded  260 Time(s) 

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send private message 
lstandish


Joined: 06 Jun 2008
Posts: 126

PostPosted: Tue 08 May 2012, 11:19    Post subject: Hardlinks  

Hi peebee,

PS Edit: didn't notice you posted your logfile, sorry.

I looked at your config files and the screenshots, looks fine to me. Also, your backup log shows that your backups are working fine, using hardlinks. Note that only a few files were reported as copied during your latest backup, and yet the total size of one of the backups is over 2 GB.

One thing you have to understand about hard links is that the system will report full size, even though the filenames point to the same place on the hard drive as other backups. It's not the same as a symlink; you won't see any link icons in a file browser.

Understand that all filenames are really a hard link to a place on the disk. When you create ANOTHER hardlink to the same data storage area, you essentially have created another name for the same file on disk. Almost no extra hard drive space is used.

A symlink, on the other hand, is a link to a *filename*. If you delete the original file, you break a symlink. With hardlinks there is no "original" file. If a file on disk has more than one hardlink (name), it will not be deleted from disk until all hardlinks are removed.

Since file managers are generally fooled by hard links, you can use "ls -l" to see them. Here is a listing from one of the directories in my backup:

lloyd@debiandesk2:/var/data/snapbackups/recent.1/home/lloyd/descent-missions/downloads/d2$ ls -l
total 41356
-rw-r--r-- 2 lloyd lloyd 1207704 Mar 30 19:34 Bahagad Outbreak.zip
-rw-r--r-- 2 lloyd lloyd 531049 Apr 1 00:55 Chasm.zip
drwxr-xr-x 2 lloyd lloyd 4096 Mar 30 20:35 coop
drwxr-xr-x 2 lloyd lloyd 4096 Mar 30 19:36 CTF
-rw-r--r-- 2 lloyd lloyd 1550139 Apr 1 19:52 Disint_Beta_3.zip
-rw-r--r-- 2 lloyd lloyd 64186 Apr 1 00:56 eglacier.zip
-rw-r--r-- 2 lloyd lloyd 955506 Mar 30 19:26 Entropy2.zip
-rw-r--r-- 2 lloyd lloyd 827906 Mar 30 19:27 Entropy.zip
-rw-r--r-- 4 lloyd lloyd 648849 Mar 11 16:24 galmoons.zip
-rw-r--r-- 4 lloyd lloyd 1028349 Mar 11 16:22 gradius3.zip
-rw-r--r-- 4 lloyd lloyd 470118 Mar 11 16:23 gstroids.zip
-rw-r--r-- 4 lloyd lloyd 1515907 Mar 11 16:33 harqyjia.zip
-rw-r--r-- 3 lloyd lloyd 4593932 Mar 30 09:12 lost-levels-old.tar.bz2
-rw-r--r-- 2 lloyd lloyd 66185 Apr 1 00:58 Macron.zip
-rw-r--r-- 2 lloyd lloyd 7676896 Mar 31 11:50 Obsidian.zip
-rw-r--r-- 4 lloyd lloyd 1629767 Mar 11 15:48 omicron.zip
-rw-r--r-- 2 lloyd lloyd 1826713 Apr 1 00:58 Phobos.zip
-rw-r--r-- 1 lloyd lloyd 396983 Apr 14 00:48 Porgys.zip
-rw-r--r-- 2 lloyd lloyd 43610 Apr 1 01:00 Tekthra.zip
-rw-r--r-- 3 lloyd lloyd 11395812 Mar 18 09:57 The Enemy Within.zip
-rw-r--r-- 3 lloyd lloyd 5710042 Mar 30 09:02 The Lost Levels.zip
-rw-r--r-- 2 lloyd lloyd 48784 Mar 30 20:47 Wolf Dog Fight.zip

Notice the number after -rw-r--r--. It is the hard link count. So by looking at this listing we know that galmoons.zip is one of 4 hardlinks to the file on disk. So it will appear in this backup and 3 previous backups.

However, Porgys.zip has only one hard link, meaning this backup is the only backup copy. Porgys.zip will therefore appear in the backup log for this backup. None of the other files in this directory will be listed in this backup's log.

Hope this helps. Let me know if you have any more doubts.

PS You can view the backup logs inside snap2 by going to the "LOGS & REPORTS" tab and clicking the "Backup Tools" button.

_________________
--
Lloyd
snap2 rotating snapshot backups for Puppy/Debian Lenny/Ubuntu
The convenience of full backups with the speed and disk economy of incremental backups
http://standish.home3.org/snap2
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1274
Location: Malvern, Worcs, UK

PostPosted: Tue 08 May 2012, 16:21    Post subject: Re: Hardlinks  

lstandish wrote:
Hope this helps. Let me know if you have any more doubts.


Hi Lloyd

Many thanks for a great explanation - I guess I'm still learning about the intricacies of the Linux filesystem Embarassed

I've just made the "jump" on my desktop from Windows XP and was very pleased to discover snap2 covered my backup needs so well.

Cheers
Peter

_________________
LxPup-14.03 = Puppy + LXDE
Back to top
View user's profile Send private message 
johnywhy

Joined: 20 Aug 2011
Posts: 353

PostPosted: Thu 24 May 2012, 16:41    Post subject: Note Remembering Exclusions
Subject description: on racy 5.3
 

hi

snap2 on racy 5.3

    -i run snap2 from the Start menu.
    -on Directories to Backup tab, i add "/". No problem so far.
    -then i click "Exclusions for selected snapshot entry".
    -I type "-/mnt"
    -i click OK, Save, Done. Snap2 closes.
    -i reopen snap2 from the Start menu, and inspect the "Exclusions" page.
    -The "-/mnt" i entered previously is not there.

what should i do?

btw, is it necessary to exclude the mnt directory in order to exclude mounted drives?

thanks
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 9 of 11 [158 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11 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:  

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.0940s ][ Queries: 13 (0.0081s) ][ GZIP on ]