Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    andrewchambers
    @andrewchambers
    if not you can go : BUPSTASH_REPOSITORY_COMMAND='ssh opts... bupstash serve /path/to/repository'
    3 replies
    sogaiu
    @sogaiu:matrix.org
    [m]
    1 reply
    tionis
    @tionis:matrix.org
    [m]
    or to be more specific it tries to looks up "host.tld:port" over dns
    andrewchambers
    @andrewchambers
    Ah - @tionis:matrix.org i was mistaken
    it doesn't yet support :PORT
    but the REPOSITORY_COMMAND should certainly work
    I have been thinking of changing it to a true URI
    however then it would require uri escaping for spaces and a few other things
    tionis
    @tionis:matrix.org
    [m]
    Well I'm currently doing something like this:
    BUPSTASH_REPOSITORY_COMMAND="ssh -p 222" bupstash init --repository ssh://host/path/on/host
    andrewchambers
    @andrewchambers
    @tionis:matrix.org that is not what I said to do
    I said to do this
    tionis
    @tionis:matrix.org
    [m]
    Ah I see, sorry, I kinda read over that part
    andrewchambers
    @andrewchambers
    export BUPSTASH_REPOSITORY_COMMAND="ssh -p 222 host bupstash serve /path/on/host"
    then do bupstash init
    tionis
    @tionis:matrix.org
    [m]
    Yes this does seem to work
    andrewchambers
    @andrewchambers
    its quite low level but at least it gives total control of how the io pipes are established
    tionis
    @tionis:matrix.org
    [m]
    ok
    andrewchambers
    @andrewchambers
    I think the ssh:// thing should still be improved to at least include port though
    tionis
    @tionis:matrix.org
    [m]
    that would be great
    thanks for the help!
    andrewchambers
    @andrewchambers
    no problem
    Paul
    @ptman:kapsi.fi
    [m]
    ssh(1) can usually also be configured via ssh_config host-blocks
    snan
    @snan
    Is it possible to have more than one "remote" and switch bewteen them? Maybe one on an SSH and one on a local external disk?
    andrewchambers
    @andrewchambers
    @snan you can just change the -r flag ? Another way is to use the sync command to transfer items between repositories
    snan
    @snan
    Nice. I'm looking forward to getting to know this app. Also I run Debian and am gonna be backing up from it, but my friend's SSH server is on Mac OS using the brew edition of bupstash. Were there any big bugs in the past i.e. is there any particular version number I should be looking out for? I've heard that brew can get a li'l bit old but I don't have a Mac so I don't know
    Also, thanks for the help with -r or with sync
    andrewchambers
    @andrewchambers
    @snan the versions currently need to match most of the time - but there are no serious bugs I am aware of
    tionis
    @tionis:matrix.org
    [m]
    Is it possible to get a specific file of snapshot, so something along the lines of
    bupstash get id="blabla" some/path/in/tar
    tionis
    @tionis:matrix.org
    [m]
    Nevermind I found the option I was looking for, its the bupstash get --pick flag
    andrewchambers
    @andrewchambers
    yeah pick is super handy
    earlier versions of bupstash didn't have it
    tionis
    @tionis:matrix.org
    [m]
    Yes it's very useful, I'm currently experimenting with using bupstash as backend for a kind of personal archive and that --pick option allows me to store complex metadata for it in a special file.
    Once I can convince the people at rsync.net to install it all is golden 😄
    Do you have a sponsor page or something like that?
    andrewchambers
    @andrewchambers
    Not currently
    andrewchambers
    @andrewchambers
    @tionis:matrix.org one thing to keep in mind is bupstash currently does linear lookup for --pick and also for listing backups
    it hasn't yet been an issue, my largest repository has a few thousand snapshots and a linear lookup can easily search that in an instant
    tionis
    @tionis:matrix.org
    [m]
    Ok, so if I want to read a specific file from snapshots I should ensure that it is one of the lexicographic first for faster lookup?
    andrewchambers
    @andrewchambers
    How many files do you plan to put in each snapshot?
    1 reply
    andrewchambers
    @andrewchambers
    In the future I might improve bupstash to do something more efficient in that case
    but I can't really say without knowing what you are doing
    andrewchambers
    @andrewchambers
    @tionis:matrix.org btw - there is no sponsor page, the best way would be to create an empty repository on bupstash.io
    it would just charge you the minimum
    tionis
    @tionis:matrix.org
    [m]
    Ok
    andrewchambers
    @andrewchambers
    So, a new release is coming soon, it is almost time for 1.0 or at least 1.0 release candidates
    1 reply
    1.0 will mean even stronger backwards compatibility guarantees - not that I ever deliberately broke a repository
    1.0 should coincide with wider access to the bupstash.io service - so we really don't want to break bupstash for people using versions packaged with their distro package manager.
    andrewchambers
    @andrewchambers
    Though we still need a logo / fav icon :P
    tionis
    @tionis:matrix.org
    [m]
    Is there some way to force bupstash new-key to print the key to stdout instead of a file
    tionis
    @tionis:matrix.org
    [m]
    :point_up: Edit: Is there some way to force bupstash new-key to print the key to stdout instead of a file?