Quick q for Jan re: Hardback

Anything QL Software or Programming Related.
User avatar
Chr$
Gold Card
Posts: 418
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Quick q for Jan re: Hardback

Postby Chr$ » Tue May 26, 2020 7:02 pm

Mr Bredenbeek (or anyone else who may know),

Does 'Hardback' allow the use of a QNET target as the destination, e.g. n1_win1_backup_. There is no mention in the readme.

Just wondered before I try it, as I don't want to start backing up an entire win1_ over QNET and possibly have or cause issues etc.

Thanks.


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.
Derek_Stewart
QL Wafer Drive
Posts: 1808
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Quick q for Jan re: Hardback

Postby Derek_Stewart » Tue May 26, 2020 8:46 pm

Hi,

You can use: NFS_USE, DEV SUB etc...

I used to back my BBS QL to a QXL with:

NFS_USE QXL,n1_win1_

using a backup programme, using the backup detination as QXL1_ which the WIN1 on the QXL

or if you have DEV on your system, you voukd say:

DEV_USE 1,"n1_win1_"

So DEV1_ is directed to your QXL WIN1 drive.


Regards,

Derek
User avatar
Chr$
Gold Card
Posts: 418
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Re: Quick q for Jan re: Hardback

Postby Chr$ » Tue May 26, 2020 9:14 pm

Derek_Stewart wrote:Hi,

You can use: NFS_USE, DEV SUB etc...

I used to back my BBS QL to a QXL with:

NFS_USE QXL,n1_win1_

using a backup programme, using the backup detination as QXL1_ which the WIN1 on the QXL

or if you have DEV on your system, you voukd say:

DEV_USE 1,"n1_win1_"

So DEV1_ is directed to your QXL WIN1 drive.

Ah yes, that all sounds very sensible. Do you know, I haven't done anything much with DEV_USE yet, apart from the whole FLP1_/MDV1_ swapping thing. I now have DEV1_ on the BBQL set as the backup directory that I want everything to go to on the QXLII. I will play around, but I have a feeling the data transfer will take a while, so best to start it all off tomorrow so I can keep an eye on it and so I don't have to have the old beasts running all night long.


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.
User avatar
janbredenbeek
Gold Card
Posts: 384
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Quick q for Jan re: Hardback

Postby janbredenbeek » Tue May 26, 2020 11:37 pm

Chr$ wrote:Mr Bredenbeek (or anyone else who may know),
Does 'Hardback' allow the use of a QNET target as the destination, e.g. n1_win1_backup_. There is no mention in the readme.

Oh dear, I haven't used it for 25 years or so... Well, it should work with any directory device, including networked drives. One thing to notice though: it doesn't recreate the hard directories on the destination medium as they exist on the source medium, it only puts the directory name in front of the file names. You can do a MAKE_DIR beforehand or afterwards to correct this.
Another issue is that it changes the system clock to make the time stamps on the destination files (almost) equal to the source files. This is bad practice nowadays, but back in 1989 when I wrote it there were no V2 drivers for the flp device so MAKE_DIR and SET_FUPDT wouldn't work. I'm wondering if they would on a networked drive anyway... they might work when the destination is on SMSQ/E or a Gold Card but probably not on a QL with Trump Card.

One final note: if you backup to a networked drive, the remote device's name length will count towards the maximum of 36 characters that QDOS/SMSQ can handle. So if you backup to n1_win1_ then the length of any file name should be no more than 31 characters...

Jan


User avatar
NormanDunbar
Forum Moderator
Posts: 1054
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Quick q for Jan re: Hardback

Postby NormanDunbar » Wed May 27, 2020 8:38 am

Without wishing to detract from Jan's Hardback program, my old WinBack utility - available from Dilwyn's excellent site - has a utility to scan the hard drive for directories and will create a small SuperBASIC program you can run prior to restoring, to recreate the full directory tree. This is useful for two reasons:

* Simplicity - it saves time typing in lots and lots of MAKE_DIR commands;
* Efficiency - it's better to pre-create the directories before importing the files otherwise all the files get put in the root directory, which becomes large, then get moved to the various sub-directories leaving the root massively fragmented and full of holes, in a manner resembling a Swiss Cheese!

I've attached the file somewhere around here, in case it's useful. I don't think it needs any assembly extensions. It has been compressed on Linux, so no QL headers will be present, but it's a non-executable anyway. I had to zip it as the forum doesn't like files with _bas, .bas or .txt as an extension.


Directory_bas.zip
(1.72 KiB) Downloaded 12 times



Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
Derek_Stewart
QL Wafer Drive
Posts: 1808
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Quick q for Jan re: Hardback

Postby Derek_Stewart » Wed May 27, 2020 9:13 am

Hi,

I think Norback is a good backup programme, but I usually take a more simple approach and always do a full backup, without incremental backups.

I usually use ProWesS DIRCOPY to copy the directory tree of the source files and use QPAC2 Files with the tree option on to copy the source files to the backup media.

It seems to work, but that as efficient as a dedicated Backup programme.


Regards,

Derek
User avatar
RalfR
Gold Card
Posts: 396
Joined: Fri Jun 15, 2018 8:58 pm

Re: Quick q for Jan re: Hardback

Postby RalfR » Wed May 27, 2020 9:33 am

Dilwyn also has a kind of "Sync" program at his site.

http://www.dilwyn.me.uk/files/sync.zip


User avatar
pjw
Super Gold Card
Posts: 676
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: Quick q for Jan re: Hardback

Postby pjw » Wed May 27, 2020 10:01 am

I havent used any of the backup programs out there for real as, typically for us QLers, Ive gone and re-invented the wheel myself and have my own private solution. However, of those Ive tested, I found a very good one in Wolfgang Lenerz' Backup. Its modern (directories and stuff are a non-issue), easy to use and has some nice features. I dont know how it fares with networked drives though. For those who hate this stuff, be warned: It is a PE program!


Per
Be wary of large West-Coast corporations bearing gifts!
- Ancient Trojan proverb
User avatar
pjw
Super Gold Card
Posts: 676
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: Quick q for Jan re: Hardback

Postby pjw » Wed May 27, 2020 10:03 am



Per
Be wary of large West-Coast corporations bearing gifts!
- Ancient Trojan proverb
User avatar
Chr$
Gold Card
Posts: 418
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Re: Quick q for Jan re: Hardback

Postby Chr$ » Wed May 27, 2020 2:10 pm

Thanks for the replies.


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.

Who is online

Users browsing this forum: No registered users and 2 guests