Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 10:50
    mtx-z commented #927
  • Jan 29 10:53
    dalpo commented #938
  • Jan 24 17:32
    mtx-z commented #927
  • Jan 24 01:25
    mtx-z commented #211
  • Jan 24 01:18
    mtx-z commented #211
  • Jan 24 01:14
    mtx-z commented #211
  • Jan 24 01:12
    mtx-z commented #211
  • Jan 22 12:34
    mapopa synchronize #923
  • Jan 19 01:52
    jordymeow opened #941
  • Jan 17 02:33
    AdibMurshed commented #803
  • Jan 17 02:33
    AdibMurshed commented #803
  • Jan 03 16:15
    salsa-dev closed #940
  • Jan 03 16:15
    salsa-dev commented #940
  • Jan 03 04:21
    AdibMurshed commented #803
  • Dec 20 2018 08:18
    120dev commented #298
  • Dec 14 2018 11:57
    rhodrid commented #938
  • Dec 14 2018 11:44
    rhodrid commented #938
  • Nov 19 2018 21:40
    weedySeaDragon opened #940
  • Nov 14 2018 08:03
    kpumuk synchronize #939
  • Nov 14 2018 07:56
    kpumuk commented #939
Matheus Mendes
@bigodines_twitter
i guess a better question would be: how do I native mongo commands before and after the backup?
Stuart Ellis
@stuartellis
@bigodines_twitter - You might find before/after hooks useful: http://backup.github.io/backup/v4/before-after-hooks/
Randѕon
@rands0n
@stuartellis thanks =)
Luca Zecca
@lzecca78
Hi guys, i am introducing backup as mysql backup daily method for single db. I have setup bzip compressor and local srora
Local storage, everything is awsome, but
I would like to have for the latsst
I would like to have for the latest backup a symlink to latest
So in automated way i can easily access to it
And i would like to avoid tar step because the sql dump is already in bzip2 format and tar it is useless
Is there any way to do those things?
Stuart Ellis
@stuartellis
@lzecca78 - For the symlink, you could try using an “after” hook (see link above). The output is not adjustable - the tar is harmless, but I understand that it feels a bit pointless in this case.
Luca Zecca
@lzecca78
@stuartellis i tried yesterday but is not like Capistrano, i cannot put logic between steps
Stuart Ellis
@stuartellis
I’m afraid that I don’t understand.
Perhaps post a model on a Github gist or similar
Luca Zecca
@lzecca78
do you know Capistrano before and after hooks @stuartellis ?
you can trigger behaviors reffering to other task names
this give you a lot of power and granularity
Stuart Ellis
@stuartellis
Sure, but Capistrano is a more generic task runner
Luca Zecca
@lzecca78
yes yes, what i was trying to say is that the after/before hook of backup is something that let you do something like the rspec before/after
you cannot say before :archive do <code> end
that should be great
Stuart Ellis
@stuartellis
To be honest, that won’t happen unless you fork Backup: there is not much development these days.
If you have a simple and specific set of needs, then there’s nothing wrong with just writing a shell script
Luca Zecca
@lzecca78
i understand, thank you a lot @stuartellis
Stuart Ellis
@stuartellis
No problem. I’m a system administrator, and your case, I would probably write a script or use Rake
Stuart Ellis
@stuartellis

“This project is not under active development, although we will continue to provide support for current users, and at least one more maintenance release: version 5.0. The version 5.0 release will include support for Ruby 2.4, and various other fixes. Future releases of Backup will only include bug fixes.

If you use this project and would like to develop it further, please introduce yourself on the maintainers wanted ticket."

I have posted this notice on the project README and documentation ^^^
I will be working on a test plan, and then working through the open tickets to update them appropriately
Various issues will be resolved by Backup 5.0, but feature requests won’t.
Stuart Ellis
@stuartellis
Once the Backup 5.0 code passes whatever set of tests I think is essential, I will see about moving it to Release Candidate status.
My expectation is that there will be 0 open tickets for Backup 5.0. Mostly by politely closing feature request tickets and pull requests.
I expect that some people will be disappointed, but I am a strong believer in the Debian principle that nobody can demand free labour from someone else.
If you would like to develop a feature for your own fork, or submit a bug fix, I am happy to help as best I can.
Stuart Ellis
@stuartellis
Or if you would like to step up as a maintainer, please do!
br00tal
@br00tal
Hey everyone. I'm using the Slack notifier, and was wondering fi there's a way to omit the log output when a backup completes with a warning. Some of those logs can be quite large, and it creates for pretty large Slack posts in my case.
And thanks for the sweet backup software. Very good stuff.
Stuart Ellis
@stuartellis
@br00tal - on the Slack notifier, set “send_log_on”, as [:failure] - it defaults to: [:warning, :failure]
br00tal
@br00tal
stuartellis: ok, thanks. I'll give that a go!
Aleksey Paschenko
@illustrarium
Hi, is anybody can help with this issue? backup/backup#893
Konstantin Reido
@KonstantinReido
Hi, I want to use S3 bucket to save my backups, and want to see all my files on top level in bucket, but even if I add the next setting in config for S3 storage s3.path = '/' I see my files wrapped in folder with the same name as my model name. How I can put all my backups in the root of my S3 bucket?
Tom de Bruijn
@tombruijn
@KonstantinReido I don't think you can without monkey patching something, so no. The idea is that you can store multiple backup models in one location (s3 bucket or otherwise). The s3.path is for where the backup store location for all backups, nested within model directories.
Andrew Smith
@silentworks
I am currently trying to backup with archive and my archive files are empty
Has anyone had this issue before?
Tom de Bruijn
@tombruijn
@silentworks not that I'm aware. Are you sure the archive arguments point to the correct path? are you using absolute paths or relative paths?
Andrew Smith
@silentworks
@tombruijn so the issue was sudo, after removing it all was working ok.
Patrick Bolger
@patmbolger
Hi All .... We have been using backup for some time. However, we're also now using ruby 2.5 - which backup doesn't support. Are there alternative backup tools out there that people have used successfully?
Andrew Smith
@silentworks
I haven't found another
Tom de Bruijn
@tombruijn
The 5.0.0.beta.2 should work with Ruby 2.5
Wolfgang
@swobspace
The 5.0.0.beta.2 still uses net-ssh 3.2, so we cannot use ssh/sftp with ruby 2.5 or ruby 2.6. I'm using pull request #905 for now.
Kristaps Kulikovskis
@LeKristapino
Hi, could somebody tell me how I can call backup through ruby code? I would like to create an AWS lambda function that would do the backup but I am having trouble finding how to make a call through ruby