Import PBS Files From Windows

fakebizprez

Member
Jul 29, 2024
40
1
8
37
Chicago, IL
www.linehaul.ai
Hello, recently I migrated all the data on my PBS server to my Windows 11 Pro workstation, and repurposed the PBS equipment for something else.

I have created a new PBS server, transferred the data from Windows to PBS via SCP to the Datastore, but none of the files show appear. It's not the end of the world if I lose these VMs, but it sure would be nice to be able to recover them.

Is it possible to recover these VMs?
 
Hi,

sounds like you just need to re-create the datastore, as just copying the chunks does not provide the system with the information, that a datastore is available somewhere.

You can do that by editing /etc/proxmox-backup/datastore.cfg and adding
Code:
datastore: name
        path /path/to/datastore

Hope this helps!
 
@
Hi,

sounds like you just need to re-create the datastore, as just copying the chunks does not provide the system with the information, that a datastore is available somewhere.

You can do that by editing /etc/proxmox-backup/datastore.cfg and adding
Code:
datastore: name
        path /path/to/datastore

Hope this helps!
Thanks for the quick response!

I went into my 'datastore.cfg' file and this is what I had in there:

Code:
atastore: nvme-backup
        path /mnt/datastore/nvme-backup

I'm wondering if some of the syntax is slightly off..

1731498532348.png
 
What does ls -lah /mnt/datastore/nvme-backup print? There should be at least a .chunks folder there.

fakebizprez said:
Code:
atastore: nvme-backup
Also, I guess this is just a typo with atastore[/code]? As the datastore does show up, at least.
 
Last edited:
What does ls -lah /mnt/datastore/nvme-backup print? There should be at least a .chunks folder there.


Also, I guess this is just a typo with atastore[/code]? As the datastore does show up, at least.
Hi Cheiss, thanks for the help; I was able to solve the problem this morning.

Long story short, before I transferred the files using the WinSCP GUI, I compressed them into a Tarball - which would have been fine, but I compressed them into a
Code:
.7z.tar
vs.
Code:
 .tgz
. According to the logs, when the files were extracted in PBS, they were corrupted.

I figured this out after I ran a manual Garbage Collection and the server crashed along with my browser, lol. The lesson? Stay off Windows.