Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Sorry all your data is gone, have a nice day ^_^

2

Comments

  • @rsk said:
    Clonezilla?

    No, PEBCAK!

  • davidedavide Member

    @rsk said:
    Clonezilla?

    I will either go with dd or tar - | ssh depending on how low-level the backup restoration will be, either I'll move the data at file level or at FS level. I haven't thought of the details yet, in the afternoon I'll sit at the big desk computer and figure out what are the constraints and what is the most efficient way of restoring the data.

  • davidedavide Member

    @david said:
    Could you just boot into recovery mode on the new VPS, create the zfs partition, and restore the files from backup?

    That's why I keep a 2 GB disk partition with a bootable Debian image on this VPS, because booting from a recovery ISO is not possible on GreenCloud. I shall figure out all the needful when I'll sit at the computer later today.

  • rpqurpqu Member

    Only if you spend time to make fail-over-server in case of @NDTN servers caught in drone strike. Though, the LES proposed widget is cute

  • daviddavid Member

    @davide said:

    @david said:
    Could you just boot into recovery mode on the new VPS, create the zfs partition, and restore the files from backup?

    That's why I keep a 2 GB disk partition with a bootable Debian image on this VPS, because booting from a recovery ISO is not possible on GreenCloud. I shall figure out all the needful when I'll sit at the computer later today.

    On VirtFusion, there is a nice recovery mode that works well, and you can mount an ISO to boot from, as well. The new VPS you're moving to should have that.

  • i can't control evil larry

  • mans_xdmans_xd Member

    @nekomikoreimu said:

    i can't control evil larry

    No one can control him, hide your peeners

  • davidedavide Member
    edited May 2

    @rpqu said:
    Only if you spend time to make fail-over-server in case of @NDTN servers caught in drone strike. Though, the LES proposed widget is cute

    Hey thanks for that! Failover is totally manual still and it takes about an hour to restore a minimal working service without all the background processes running. Not a big deal frankly as this is a hobby / pet project in the whole.

    @david said:

    @davide said:

    @david said:
    Could you just boot into recovery mode on the new VPS, create the zfs partition, and restore the files from backup?

    That's why I keep a 2 GB disk partition with a bootable Debian image on this VPS, because booting from a recovery ISO is not possible on GreenCloud. I shall figure out all the needful when I'll sit at the computer later today.

    On VirtFusion, there is a nice recovery mode that works well, and you can mount an ISO to boot from, as well. The new VPS you're moving to should have that.

    Will check on that.

  • davidedavide Member
    edited May 2

    @NDTN said:
    Why not installing your new VirtFusion VPS then transfer the data from your old SolusVM to the new VPS? It will be faster than taking the backup to your PC.

    According to GreenCloud's email, the old VM would be nuked contextually to the provisioning of the new one, there would never be two VMs existing at the same time. And I'm only given 1 IPv4 address, how would you stretch it to two VMs? @NDTN your staff / email don't mention this, how would you do it?

  • raindog308raindog308 Administrator, Veteran

    @davide said: VPS Price Tracker uses 1.5 million inodes

    image

    What are you doing with 1.5 million inodes? Are you storing each individual piece of data as a separate text file? Maybe it's time to use Postgresql?

  • plumbergplumberg Veteran, Megathread Squad

    @raindog308 said:

    @davide said: VPS Price Tracker uses 1.5 million inodes

    image

    What are you doing with 1.5 million inodes? Are you storing each individual piece of data as a separate text file? Maybe it's time to use Postgresql?

    DB is for Wuss

  • iriskairiska Member

    I'm also curious how you're at 1.5m inodes; my media server is only ~623k inodes at 22TiB.

  • plumbergplumberg Veteran, Megathread Squad

    @iriska said:
    I'm also curious how you're at 1.5m inodes; my media server is only ~623k inodes at 22TiB.

    Need to think out of the box

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @davide said:

    @NDTN said:
    Why not installing your new VirtFusion VPS then transfer the data from your old SolusVM to the new VPS? It will be faster than taking the backup to your PC.

    According to GreenCloud's email, the old VM would be nuked contextually to the provisioning of the new one, there would never be two VMs existing at the same time. And I'm only given 1 IPv4 address, how would you stretch it to two VMs? @NDTN your staff / email don't mention this, how would you do it?

    Are we even reading the same email?

  • zGatozGato Member

    @davide said:

    @NDTN said:
    Why not installing your new VirtFusion VPS then transfer the data from your old SolusVM to the new VPS? It will be faster than taking the backup to your PC.

    According to GreenCloud's email, the old VM would be nuked contextually to the provisioning of the new one, there would never be two VMs existing at the same time. And I'm only given 1 IPv4 address, how would you stretch it to two VMs? @NDTN your staff / email don't mention this, how would you do it?

    Thanked by 2beanman109 jsg
  • davidedavide Member
    edited May 2

    @beanman109 said:

    @davide said:

    @NDTN said:
    Why not installing your new VirtFusion VPS then transfer the data from your old SolusVM to the new VPS? It will be faster than taking the backup to your PC.

    According to GreenCloud's email, the old VM would be nuked contextually to the provisioning of the new one, there would never be two VMs existing at the same time. And I'm only given 1 IPv4 address, how would you stretch it to two VMs? @NDTN your staff / email don't mention this, how would you do it?

    Are we even reading the same email?

    No exactly ahah I noticed that but a bit late. I'm restoring the data over an external backup anyway to avoid the risk of premature termination, they say 2/3 days max until termination but I'd rather play it safe, and I'll hold a binary image of the disk on Amazon AWS for some time afterward just in case they throw a hand grenade to the shit-stained fan.

    Currently restoring a filesystem-level backup since the new storage is large enough to hold the whole binary image of the old VM as-is, so I won't have to deal with any upper-level complexities.

  • rpqurpqu Member

    @iriska said:
    I'm also curious how you're at 1.5m inodes; my media server is only ~623k inodes at 22TiB.

    My 256GB MicroSD uses 448K inodes at 40% usage :D :D

    Thanked by 1iriska
  • Ask Claude to do it for you.

  • davidedavide Member
    edited May 2

    @raindog308 said:

    @davide said: VPS Price Tracker uses 1.5 million inodes

    image

    What are you doing with 1.5 million inodes? Are you storing each individual piece of data as a separate text file? Maybe it's time to use Postgresql?

    The database is custom made, it uses a single sqlite3 file of ~800 MB to store the data at rest, and serves search queries from preloaded memory indexes that are read at boot. It's cool because by having full control of the algorithms it can XOR bitsets to determine if a stored record matches a search query and pack the data without wasting memory.

    What consumes those many inodes is the long-standing dependency of VPS Price Tracker on RRD files, this was a design decision from back when the project was still called PonyHost, it was primarily meant to be cute and small, and not meant to scale 100x to its current size. There is one RRD file for each VPS and dedicated server configuration, each multiplexing price and stock data. These RRDs package ~3 KB of data per file and there are ~1.2 millions of them. They are highly compressible with Huffman encoding (ahah that should be AffMan encoding :D) since price and stock data change infrequently over time and a data dictionary can represent repetitions with less entropy than a plain RRD, so I'm considering packaging multiple RRDs into aggregate files and having a common dictionary for each pack. The same is already implemented for storing the URLs linking to the checkout pages, as they are generally similar to each other (only the PIDs at the end of the URLs change) and they are also about a million.

    Thanked by 1rpqu
  • emperoremperor Member

    @oloke said: over the weekend

    You forgot the wedding :)

    Thanked by 1oloke
  • emperoremperor Member

    @davide i would advise you to get the cheapest possible storage box you can find. Atm i can see 500gb from hostbrr in Utah is available for 7 buck per year. Thats 3/4 your coffes, and keep it for backup. That way you can do fast backups with high speeds.

  • davidedavide Member

    @emperor said:
    @davide i would advise you to get the cheapest possible storage box you can find. Atm i can see 500gb from hostbrr in Utah is available for 7 buck per year. Thats 3/4 your coffes, and keep it for backup. That way you can do fast backups with high speeds.

    Believe it or not I'm an AWS trial plan free for 6 months! They must have forgotten about me because I already used their free trial a couple of times already!

    Thanked by 1rpqu
  • gatewaysentryllcgatewaysentryllc Member, Patron Provider

    And its gone insert southpark

  • raindog308raindog308 Administrator, Veteran

    @davide said: The database is custom made, it uses a single sqlite3 file of ~800 MB to store the data at rest, and serves search queries from preloaded memory indexes that are read at boot. It's cool because by having full control of the algorithms it can XOR bitsets to determine if a stored record matches a search query and pack the data without wasting memory.

    That sounds like a lot of work for microseconds. You could keep the entire dataset in memory with Pg and use various indexing strategies and I am skeptical you'd really see a huge difference. Pg may even be faster. In a world where a 4GB VPS is $5/month, how critical really is "wasting memory"?

    @davide said: These RRDs package ~3 KB of data per file and there are ~1.2 millions of them.

    If it was me, I'd spend an afternoon to vibe-code a utility that exports all that data into Pg.

    It's only ~33.5GB of data, which is not at all huge for a database these days. And it's a lot easier to manage than 1.2 million files. It would also probably save you disk space since there's not all the filesystem metadata and wasted space since your ~3Kb files probably aren't uniformly in 512-byte blocks.

    But...party on, you crazy diamond.

    Thanked by 2Smigit Peppery9
  • _MS__MS_ Member
    edited May 2

    @davide said:
    See what happens on a bad wind day!

    69 kB/s

    "Man of Culture" certified newtork.

    Thanked by 3RIYAD host_c forest
  • host_chost_c Patron Provider, Top Host, Megathread Squad
    edited May 2

    @davide said:

    @NDTN said:
    Why not installing your new VirtFusion VPS then transfer the data from your old SolusVM to the new VPS? It will be faster than taking the backup to your PC.

    ZFS on root is required because VPS Price Tracker uses 1.5 million inodes and EXT4 cannot handle it on a 35 GB disk :'(

    So I don't think I can take a proper backup myself from within the VPS, that's why I asked support if they could take an external backup of the Qemu image.

    It would be cool if you could!

    Damn bro, damn

    I do get the trillion things your VPS does, but, ZFS in A VM that is most probably on ZFS is........... bad ( over HW raid is even worse )

    Did you try XFS? yet that handles large files not trillion small ones......

    More RAM???

    PS: need a backup server? :D :D

    PSS: try bribe money again, might work on the second try.

    Thanked by 1rpqu
  • Oh man, now all the important people are posting in here!!

    Thanked by 1host_c
Sign In or Register to comment.