Re: [GTALUG] war story: supporting an old printer on Windows, with Linux

2023-06-05 Thread Mauro Souza via talk
I have a "travel router" running openwrt and my printer is plugged in it. I
should have paid $15 on the router, it's a palm sized tplink. It's running
p910nd as the printer daemon and works well. Wireless printing even when
the printer isn't wireless...

On Mon, Jun 5, 2023, 22:36 Stewart Russell via talk  wrote:

> That seems a lot. Doesn't windows have generic PCL or PS drivers? Even
> Apple's IPP assumes PCL
>
> On Mon., Jun. 5, 2023, 17:41 D. Hugh Redelmeier via talk, 
> wrote:
>
>> A friend has an old trusty HP LaserJet 4MP printer.
>>
>> This is so old that HP no longer makes Windows drivers for it and HP no
>> longer has online manuals for it.  I'm guessing that the 4mp model was
>> introduced about 30 years ago.  (I bought a LaserJet IIP in 1989 for
>> $1400.  Long dead.)
>>
>> It works fine under Linux (he has used Ubuntu).  He did need a dongle to
>> connect the serial or parallel port (I don't remember which) to a USB
>> port
>> on the computer.
>>
>> There is a hack to support this for use by Windows:
>>
>> 
>>
>> Highlights:
>>
>> - run Ubuntu in WSL2 (requires Win11)
>>
>> - use ubunto-previow because that allows systemd, which is needed
>>
>> - use  to pass through the USB
>>   device to Ubuntu
>>
>> He is about to try this.  I hope it work
>>
>> Boy is that a lot of duct tape.
>> ---
>> Post to this mailing list talk@gtalug.org
>> Unsubscribe from this mailing list
>> https://gtalug.org/mailman/listinfo/talk
>>
> ---
> Post to this mailing list talk@gtalug.org
> Unsubscribe from this mailing list
> https://gtalug.org/mailman/listinfo/talk
>
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] war story: supporting an old printer on Windows, with Linux

2023-06-05 Thread Stewart Russell via talk
That seems a lot. Doesn't windows have generic PCL or PS drivers? Even
Apple's IPP assumes PCL

On Mon., Jun. 5, 2023, 17:41 D. Hugh Redelmeier via talk, 
wrote:

> A friend has an old trusty HP LaserJet 4MP printer.
>
> This is so old that HP no longer makes Windows drivers for it and HP no
> longer has online manuals for it.  I'm guessing that the 4mp model was
> introduced about 30 years ago.  (I bought a LaserJet IIP in 1989 for
> $1400.  Long dead.)
>
> It works fine under Linux (he has used Ubuntu).  He did need a dongle to
> connect the serial or parallel port (I don't remember which) to a USB port
> on the computer.
>
> There is a hack to support this for use by Windows:
>
> 
>
> Highlights:
>
> - run Ubuntu in WSL2 (requires Win11)
>
> - use ubunto-previow because that allows systemd, which is needed
>
> - use  to pass through the USB
>   device to Ubuntu
>
> He is about to try this.  I hope it work
>
> Boy is that a lot of duct tape.
> ---
> Post to this mailing list talk@gtalug.org
> Unsubscribe from this mailing list
> https://gtalug.org/mailman/listinfo/talk
>
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


[GTALUG] war story: supporting an old printer on Windows, with Linux

2023-06-05 Thread D. Hugh Redelmeier via talk
A friend has an old trusty HP LaserJet 4MP printer.

This is so old that HP no longer makes Windows drivers for it and HP no 
longer has online manuals for it.  I'm guessing that the 4mp model was 
introduced about 30 years ago.  (I bought a LaserJet IIP in 1989 for 
$1400.  Long dead.)

It works fine under Linux (he has used Ubuntu).  He did need a dongle to 
connect the serial or parallel port (I don't remember which) to a USB port 
on the computer.

There is a hack to support this for use by Windows:



Highlights:

- run Ubuntu in WSL2 (requires Win11)

- use ubunto-previow because that allows systemd, which is needed

- use  to pass through the USB 
  device to Ubuntu

He is about to try this.  I hope it work

Boy is that a lot of duct tape.
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Anybody using rclone?

2023-06-05 Thread Jamon Camisso via talk

On 2023-06-05 6:45 PM, Alvin Starr via talk wrote:
I can snapshot the volume and then backup the snapshot but that is a 
40TB image.
Veeam tries to take a look at the file systems and zero unused space, 
like Borg appears to do, but that feature had to be disabled because it 
was causing random system crashes.


I will take a closer look at Borg.


At Canonical we used an in-house tool called Turku to handle sharded 
backups for many thousands of systems: 
https://canonical.com/blog/introducing-turku-cloud-friendly-backups-for-your-infrastructure


I think in 2018 when I was there, we had 4-5 storage nodes with 12-16TB 
backup storage in each. Any VM that wanted a backup just had to run the 
agent (python app to invoke rsync), and have a copy of the storage 
system's public key.


The original lives here: 
https://bazaar.launchpad.net/~turku/turku/turku-storage/files and my 
past colleague who wrote it has a fork of all three components: 
https://github.com/rfinnie/turku-storage and so on.


For object storage with deduplication and B2 (backblaze) support, I use 
restic. I've got ~500k files in about 100GB of deduped space stored for 
less than $1USD/month. Restic is fast (standalone Go binary), encrypted 
in transit and at rest, supports compression and deduplication, and also 
handles many different storage backends.


I can't vouch for it scaling beyond 1-10TB though, but I would be 
looking at some kind of incremental+sharding solution for anything 
larger than that anyways.


Cheers, Jamon
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Anybody using rclone?

2023-06-05 Thread Alvin Starr via talk

On 2023-06-05 14:41, Aurelian Melinte via talk wrote:

On 05/06/2023 12:03, Alvin Starr via talk wrote:

On 2023-06-05 11:16, Scott Sullivan via talk wrote:

On 2023-06-05 09:14, Alvin Starr via talk wrote:

Does anybody know of an volume based backup solution that can work
in an incremental manner?


This questions has big unstated conditional. Are you looking for

A) 'volume based backup that agnostic of the volumes it is backing up'

For which I have no answers.

That is kind of my preference.


This is not incremental but is agnostic:

    dd if=/dev/sdaX of=/mountpoint/folder/file
Well. On a live file system that would result in a possibly corrupt 
backup copy.

It is also local only.

For just a simple copy you could use deltacp.
I have a version on one of my systems but it seems to have disappeared 
from the internet at large.


--
Alvin Starr   ||   land:  (647)478-6285
Netvel Inc.   ||   Cell:  (416)806-0133
al...@netvel.net  ||

---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Anybody using rclone?

2023-06-05 Thread Aurelian Melinte via talk

On 05/06/2023 12:03, Alvin Starr via talk wrote:

On 2023-06-05 11:16, Scott Sullivan via talk wrote:

On 2023-06-05 09:14, Alvin Starr via talk wrote:

Does anybody know of an volume based backup solution that can work
in an incremental manner?


This questions has big unstated conditional. Are you looking for

A) 'volume based backup that agnostic of the volumes it is backing up'

For which I have no answers.

That is kind of my preference.


This is not incremental but is agnostic:

    dd if=/dev/sdaX of=/mountpoint/folder/file



--
This email has been checked for viruses by Avast antivirus software.
www.avast.com
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Anybody using rclone?

2023-06-05 Thread Alvin Starr via talk

On 2023-06-05 11:16, Scott Sullivan via talk wrote:

On 2023-06-05 09:14, Alvin Starr via talk wrote:
Does anybody know of an volume based backup solution that can work in 
an incremental manner?


This questions has big unstated conditional. Are you looking for

A) 'volume based backup that agnostic of the volumes it is backing up'

For which I have no answers.

That is kind of my preference.



B) 'An alternative filesystem / volume solution that can support 
incremental backup'


ZFS snapshots fit the bill here. Most folks will jump to the 
conclusion that you have to stream from one ZFS to another. But in 
reality zfs send is just standard out, that is only connected to a zfs 
receive by convention. You can just dump the incremental stream as a 
file/object that  doesn't need to be applied to a receiving ZFS 
immediately. You are then into the same know problem set of full vs 
incremental offline database backups.


Changing the filesystem would be a major lift and likely take months to 
copy the data over.
This is also the underlying storage for a Gluster volume so I am not 
sure of the ZFS support for Gluster.

But it is food for thought.

We are in this situation because some "wizard" said "don't store PDF 
data in a data base keep it on a file system and just link using the paths".


Well that works well till you get tens of millions of files.

Backing up a database in the TB size is orders of magnitude faster than 
trying to back up that same data in a filesystem


If I had my way I would convert the data to something like an Elastic 
database were the numbers of files are more manageable.




--
Alvin Starr   ||   land:  (647)478-6285
Netvel Inc.   ||   Cell:  (416)806-0133
al...@netvel.net  ||

---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Anybody using rclone?

2023-06-05 Thread Scott Sullivan via talk

On 2023-06-05 09:14, Alvin Starr via talk wrote:
Does anybody know of an volume based backup solution that can work in 
an incremental manner?


This questions has big unstated conditional. Are you looking for

A) 'volume based backup that agnostic of the volumes it is backing up'

For which I have no answers.


B) 'An alternative filesystem / volume solution that can support 
incremental backup'


ZFS snapshots fit the bill here. Most folks will jump to the conclusion 
that you have to stream from one ZFS to another. But in reality zfs send 
is just standard out, that is only connected to a zfs receive by 
convention. You can just dump the incremental stream as a file/object 
that  doesn't need to be applied to a receiving ZFS immediately. You are 
then into the same know problem set of full vs incremental offline 
database backups.


--
Scott Sullivan

---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Anybody using rclone?

2023-06-05 Thread Alvin Starr via talk
rclone looks interesting and given that object storage is becoming a 
ubiquitous storage technology it is something I will be looking into.


Since we are onto the subject of backups.
I have a client with a multi Tbyte file system that has close to 100 
million files.


Any kind of file based backup would take days if not weeks to backup.
A simple find on the file system took 4 days to run.

Currently there is a veeam solution in place that is doing an image 
backup of the LVM and somehow tracking disk writes but I am not a fan of 
the solution because it requires custom kernel mods and has cause the 
system to crash on occasion.


Does anybody know of an volume based backup solution that can work in an 
incremental manner?


--
Alvin Starr   ||   land:  (647)478-6285
Netvel Inc.   ||   Cell:  (416)806-0133
al...@netvel.net  ||

---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk