V6 Backup long pathnames
Posted: 26 Dec 2014 17:27
/*** Caveat - not thinking this is a problem with the V6 Backup very large files (12034) specific instance, but worth mentioning with backups as a topic as I believe represents good working practice ***/
I have also found file path length can have an adverse effect on backups in the past.
By path length that is to say a file called abc.txt (6 characters) if located in, for example, C:\Users\Phil\Documents\Family Historian Projects\Family Historian Sample Project\Family Historian Sample Project.fh_data\Media\Certificates\abc.txt is actually 148 characters in length.
If this were to be backed up then in a similar location it can be very easy to get to over 255 characters in length.
Whilst theoretically Windows Vista/7/8 can handle such long strings, a 255 character limit is still hard coded into the registry and this can sometimes crop up making copying and or deleting a file almost impossible.
(windows will allow a save to create a 300 character string, then refuse to delete the file as it exceeds 255! - a common issue at MS Technet)
I use a small free app (portable so no need to install) called TLPD which can help identify these long paths and ultimately let you shorten them prior to making a backup.
it can be found at http://sourceforge.net/projects/tlpd/
as i say, i dont think this is nescessarily relevant to the OP's specific occurance, however I thought i'd add to this thread as it is always something worth thinking about in the realms of backups
I have also found file path length can have an adverse effect on backups in the past.
By path length that is to say a file called abc.txt (6 characters) if located in, for example, C:\Users\Phil\Documents\Family Historian Projects\Family Historian Sample Project\Family Historian Sample Project.fh_data\Media\Certificates\abc.txt is actually 148 characters in length.
If this were to be backed up then in a similar location it can be very easy to get to over 255 characters in length.
Whilst theoretically Windows Vista/7/8 can handle such long strings, a 255 character limit is still hard coded into the registry and this can sometimes crop up making copying and or deleting a file almost impossible.
(windows will allow a save to create a 300 character string, then refuse to delete the file as it exceeds 255! - a common issue at MS Technet)
I use a small free app (portable so no need to install) called TLPD which can help identify these long paths and ultimately let you shorten them prior to making a backup.
it can be found at http://sourceforge.net/projects/tlpd/
as i say, i dont think this is nescessarily relevant to the OP's specific occurance, however I thought i'd add to this thread as it is always something worth thinking about in the realms of backups