English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 11 July 2019, 18:38   #1
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,298
copy (backup) directories without altering file dates

i used do backup complete cf cards using directory opus. until today. i won't do use it anymore. because today i saw in an backed up folder, every folder and every file has as filedate the day the copy was created. i don't want it this way. if i want to backup files and directories i also want to preserve filedates to see when a file was altered last time... so what software do i need in order to achieve this full backup including correct and unaltered file-/directory dates?
honx is offline  
Old 11 July 2019, 19:07   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,347
You need to correctly configure DOpus. What version do you use? However, you will find the settings in the configuration settings (copy). If you want to switch to a better backup tool have a look at BackUp from Aminet.
daxb is offline  
Old 11 July 2019, 19:21   #3
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,298
i'm using v4.12a from amiga plus, german menues and buttons. there is a red button "APlus" with yellow font, not sure what it's supposed to do (its configurations says: AmigaDOS {F} -x {d}, shortcut configured LAMIGA + CONTROL + LSHIFT + 'A') in copy settings "Also copy source's... datestamp" is ticked already, also "protection bits" and "comment" are ticked. so something seems to be wrong... i'll have a look at backup from aminet, thx. do you mean this one? http://aminet.net/package/disk/bakup/BackUp

Last edited by honx; 11 July 2019 at 19:31.
honx is offline  
Old 11 July 2019, 19:35   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,347
Yes, that's the BackUp I mean. About DOpus 4.12a I don't know, maybe there is a bug. In 4.15c there was a DateStamp bugfix with filenames longer then 40 chars.
daxb is offline  
Old 11 July 2019, 19:47   #5
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,539
If you copy with normal WB it won't alter file dates.
meynaf is offline  
Old 11 July 2019, 20:00   #6
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,298
Quote:
Originally Posted by daxb View Post
Yes, that's the BackUp I mean. About DOpus 4.12a I don't know, maybe there is a bug. In 4.15c there was a DateStamp bugfix with filenames longer then 40 chars.
thx, i'm currently running BackUp, let's see what the outcome will be.
//edit: unfortunately not successful. a lot of errors, all errors begin with "MetaC", look like this:
"MetaC: CF_SHARE/backup/20190711/WB3.1/System.info (Erstellt 04.11.2017 18:44:58. letzter Zugriff 04.11.2017
this example ist the last error of a VERY long list...

Quote:
Originally Posted by meynaf View Post
If you copy with normal WB it won't alter file dates.
isn't it a bit complicated if you want to backup an entire partition including root directories and files? and what about icon positions?
copying them by drag&drop would alter icon positions on copy. so using this method i can't save original icon positions of drawers.

Last edited by honx; 11 July 2019 at 20:10.
honx is offline  
Old 11 July 2019, 20:15   #7
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 15,105
Why don't you just use one of these solutions?

Quote:
Originally Posted by trixster View Post
If you have a PC, download win32diskImager and use that to make an exact image of the cf card. Use a usb card reader to attach the cf card to the pc. Don’t try and access the cf card, just plug it in, launch win32diskimager and clone from the cf cards drive letter to a file on your hard drive.
Quote:
Originally Posted by c0dehunter View Post
Thanks for letting me know!

I have also found two other methods:

USB Image Tool
http://eab.abime.net/showthread.php?t=94557

WinImage
http://eab.abime.net/showthread.php?t=67293

So now we have at least 3 different way to accomplish this easily!
DamienD is offline  
Old 11 July 2019, 20:17   #8
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,094
I'm using DOpus 4.12CU and file dates/comments/protection bits are copied. In DOpus settings, click Operation then Copy then check all three boxes under "Also copy source's..."

There is one exception/bug though. If you copy a zero-length file, the destination file date, comment and protection bits are lost. Maybe that bug was fixed in one of the later 4.1x versions?

DirDiff is a useful tool to compare directories including dates/comments/protection.
mark_k is offline  
Old 11 July 2019, 20:19   #9
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,298
Quote:
Originally Posted by DamienD View Post
Why don't you just use one of these solutions?
cf card in boot slot of aca500+ contains amiga formatted partitions WB3.1, Work and a 50mb WB1.3 partition.
so windows pc won't read that card as it doesn't have a "proper" file system which windows wants...

Quote:
Originally Posted by mark_k View Post
DirDiff is a useful tool to compare directories including dates/comments/protection.
can i use dirdiff to copy also?

as postet above, BackUp makes a lot of errors.
Quote:
Originally Posted by honx View Post
//edit: unfortunately not successful. a lot of errors, all errors begin with "MetaC", look like this:
"MetaC: CF_SHARE/backup/20190711/WB3.1/System.info (Erstellt 04.11.2017 18:44:58. letzter Zugriff 04.11.2017
this example ist the last error of a VERY long list...
honx is offline  
Old 11 July 2019, 20:23   #10
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 15,105
Quote:
Originally Posted by honx View Post
cf card in boot slot of aca500+ contains amiga formatted partitions WB3.1, Work and a 50mb WB1.3 partition.
so windows pc won't read that card as it doesn't have a "proper" file system which windows wants...
You can still clone the card; it doesn't matter what OS / partitions are on it; or if Windows can see them or not...

Read trixter's post again:

Quote:
Originally Posted by trixster View Post
If you have a PC, download win32diskImager and use that to make an exact image of the cf card. Use a usb card reader to attach the cf card to the pc. Don’t try and access the cf card, just plug it in, launch win32diskimager and clone from the cf cards drive letter to a file on your hard drive.
Here's the full thread: How do I "clone" a CF to another CF? (Containing 3.1)
DamienD is offline  
Old 11 July 2019, 20:29   #11
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 15,105
You can also use this via Shell / CLI to copy from one hard drive or CF card to another:

Code:
Copy DHO: DH1: ALL CLONE
CLONE - The date, comments and protection bits of the FROM file are copied to the TO file.
DamienD is offline  
Old 11 July 2019, 20:52   #12
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,539
Quote:
Originally Posted by honx View Post
isn't it a bit complicated if you want to backup an entire partition including root directories and files? and what about icon positions?
copying them by drag&drop would alter icon positions on copy. so using this method i can't save original icon positions of drawers.
If you want to backup the entire partition, just drag the disk icon of said partition, rather than the contents. Icon positions will be preserved.


Quote:
Originally Posted by DamienD View Post
CLONE - The date, comments and protection bits of the FROM file are copied to the TO file.
For files, yes. But dates of directories are not preserved.
meynaf is offline  
Old 11 July 2019, 21:16   #13
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 42
Posts: 15,105
Quote:
Originally Posted by meynaf View Post
For files, yes. But dates of directories are not preserved.
I tried this via Shell and it just finished:

Code:
Copy DHO: DH1: ALL CLONE


Looks like an exact copy to me; date, comments and protection bits from a quick inspection
DamienD is offline  
Old 11 July 2019, 21:16   #14
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,175
Quote:
Originally Posted by honx View Post
cf card in boot slot of aca500+ contains amiga formatted partitions WB3.1, Work and a 50mb WB1.3 partition.
so windows pc won't read that card as it doesn't have a "proper" file system which windows wants...
.
The programs suggested by DamienD as USB Image Tool, make a copy 1:1 including all kinds of partitions and bootloaders.
If you want, you can also "burn" the resulting image file to an HD or other device.
AMIGASYSTEM is offline  
Old 11 July 2019, 21:58   #15
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,539
Quote:
Originally Posted by DamienD View Post
Looks like an exact copy to me; date, comments and protection bits from a quick inspection
Sorry, i remembered wrong.
But then, problem solved ?
meynaf is offline  
Old 12 July 2019, 15:45   #16
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 2,347
Quote:
Originally Posted by honx View Post
thx, i'm currently running BackUp, let's see what the outcome will be.
//edit: unfortunately not successful. a lot of errors, all errors begin with "MetaC", look like this:
"MetaC: CF_SHARE/backup/20190711/WB3.1/System.info (Erstellt 04.11.2017 18:44:58. letzter Zugriff 04.11.2017
this example ist the last error of a VERY long list...
That is a strange (the error and that you have so much files with that stupid comment). The BackUp.guide says: MetaC: Could not update file comment on a target file or directory.
It seems you use Samba or USB or non Amiga filesystem for the backup. If yes, guide says to use NOFILECOMMENTS to prevent set comments. However, you need to know what you are doing if you use alien systems/filesystems for backup. In worst case you have a backup that isn't a backup. Read the manuals. BackUp has also a TESTMODE.

Last edited by daxb; 12 July 2019 at 15:59.
daxb is offline  
Old 13 July 2019, 07:40   #17
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,298
source file system on wb3.1 and work partitions is the one created by aca500+ installer. i don't know exactly what icomp uses as file system there for automatic workbench 3.1 installation. in aux slot (target) i tried both pc formatted cf card AND amiga ffs formatted cf card. in both cases these metacf errors appear. i also tried testmode after you mentioned it. testmode: NO ERRORS (and much faster than real backup)! real backup: huge amount of metac errors again. what are these filecomments? are they needed? or is there no problem setting NOFILECOMMENTS and is it "Never copy Amiga file comments" menu entry in backup entry?

Last edited by honx; 13 July 2019 at 07:48.
honx is offline  
Old 13 July 2019, 09:42   #18
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,539
The comments you're seeing come from fat95 file system. PC file systems have 3 datestamps : file creation, last file modification, last file access. Amiga files only have last file modification. Thus fat95 uses the file comments to store the two others. If you copy the files back to some Amiga FS, you can of course remove them.
meynaf is offline  
Old 13 July 2019, 10:59   #19
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 5,175
The "Comments" on Amiga Files (Amiga File System) are not none, they are just info on the file, in any case even if copied to a Windows folder the comments are not deleted, they are deleted for example only if the files are compressed On Windows with the ZIP or RAR.

Can you attach here a file that has problermi in copying?
AMIGASYSTEM is offline  
Old 13 July 2019, 11:12   #20
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,298
Quote:
Originally Posted by meynaf View Post
The comments you're seeing come from fat95 file system. PC file systems have 3 datestamps : file creation, last file modification, last file access. Amiga files only have last file modification. Thus fat95 uses the file comments to store the two others. If you copy the files back to some Amiga FS, you can of course remove them.
okay, with "never copy amiga file comments" enabled, copy of both partitions WB3.1 and WORK completed without errors. backup seems complete. after copy, dopus shows in first date column correct date and time of the files, and two more columns "created" and §last access", both showing todays date. on a amiga ffs formatted cf card (which i formatted today, just for backup), after using that "never copy amiga file comments". so are file comments maybe something different? i'm confused.

Quote:
Originally Posted by AMIGASYSTEM View Post
Can you attach here a file that has problermi in copying?
most original amigaos files (for example in devs or storage) had this problem. (besides mui and fullpallette no thirdparty software is installed on WB3.1 partition, the very rest is amigaos 3.1 itself). so due to amigaos still on copyright, i can't attach any of these files.
honx is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
copy / backup Casablanca floppies with Kryoflux ? SimonV support.Other 3 12 February 2018 13:15
making backup copy of Workbench 2.04 disk museum support.Apps 8 08 January 2013 21:29
Faster floppy file dialog for large directories? rsn8887 request.UAE Wishlist 7 23 January 2012 06:31
Backup Directories/Volumes/System amigakit.com Amiga scene 4 25 January 2010 23:58
Copy CF card file to ram:, insert other CF card, copy over? Photon support.Hardware 16 21 July 2009 22:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.09152 seconds with 15 queries