onurzdgn's avatar

Aptfile or Dockerfile

Hi everyone. I'm using DigitalOcean app platform and I need to mysqldump for backup. However I can't decide, which one is better for me? I don't know am I need anything in future but I need advice for now.

The system will create the backup file than I will download or send mail. But first I need to choose Aptfile or DockerFile

0 likes
2 replies
martinbean's avatar

@onurzdgn I truthfully don’t use Digital Ocean or its app platform, but what do either of these have to do with create a backup using mysqldump?

Dockerfiles are for containerising a project; not running one-off commands like mysqldump. And I’ve never used an “Aptfile” whatever that is.

onurzdgn's avatar

I thought it would be better if I gave more details. This is the first time I've heard of Aptfile. After doing some research, I wanted to get some opinions here to see if anyone has used it before. I haven't used it before , but I think I'll try it.

I know how to use Dockerfile, but I wasn't sure if it was necessary for such a simple task. So, while researching, I discovered aptfile.

Thank you anyway.

Please or to participate in this conversation.