Skip to content

Conversation

Khant-Nyar
Copy link

  • restore a disk of a row
  • show and hide optional for download and delete button at table

@jhoanborges
Copy link

+1

fn (BackupDestination $record) =>
Artisan::call('backup:restore', [
'--backup' => $record->path,
])
Copy link

@jhoanborges jhoanborges Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add '--reset' => true, or maybe pass it as params, otherwise you'll get an error that you have duplicate lines in your database. I created a fork to make this change.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reminded me ,I forget to update it I already changed in my prod project.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! any update for this pull-req?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! any update for this pull-req?

ohh ! I am sorry and i can't merge it cause i'm not a official contributor.may be my code was not good or don't follow there rules.by the way i will update my code tonight to ready for merge and keep up to date.

@zhinea
Copy link

zhinea commented May 13, 2025

+1

fn (BackupDestination $record) =>
Artisan::call('backup:restore', [
'--backup' => $record->path,
])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! any update for this pull-req?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants