# Percona for single server

**URL:** <https://forums.percona.com/t/percona-for-single-server/7605>\
**Category:** Percona Backup for MongoDB\
**Created:** [May 7, 2020, 8:36am UTC](https://forums.percona.com/t/percona-for-single-server/7605 "2020-05-07T08:36:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgoguet](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@dgoguet](https://forums.percona.com/u/dgoguet)\
**Post date:** [May 7, 2020, 8:36am UTC](https://forums.percona.com/t/percona-for-single-server/7605/1 "2020-05-07T08:36:41Z")

</div>

Hi!  
I’m test driving percona backup for mongodb for a single server (so, no replicaset in connection URI), but I get an error message:  
Error starting backup: no confirmation that backup has successfully started. Replsets status:\<no replset has started backup\>What is the right way to backup a single server?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Andrew\_Pogrebnoi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrew_pogrebnoi/32/77_2.png) [@Andrew\_Pogrebnoi](https://forums.percona.com/u/Andrew_Pogrebnoi)\
**Post date:** [May 13, 2020, 10:13am UTC](https://forums.percona.com/t/percona-for-single-server/7605/2 "2020-05-13T10:13:22Z")

</div>

Hi @dgoguet&nbsp;PBM works only with MongoDB sharded clusters and replica sets. There is no oplog on non-replicated setups, therefore, no chance to guarantee a backup consistency. You can run PBM on a single server but that should be a single-node replicaset.

---

<div class="post-metadata">

**Author:** ![csilva](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@csilva](https://forums.percona.com/u/csilva)\
**Post date:** [July 23, 2020, 8:47am UTC](https://forums.percona.com/t/percona-for-single-server/7605/3 "2020-07-23T08:47:40Z")

</div>

Hi, @AndrewPogrebnoi   
I’m trying to backup a database from a container, I’ve the same error, how could I make it work?&nbsp; 😕

```auto
Error starting backup: no confirmation that backup has successfully started. Replsets status: &lt;no replset has started backup&gt;

```

---

<div class="post-metadata">

**Author:** ![Andrew\_Pogrebnoi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrew_pogrebnoi/32/77_2.png) [@Andrew\_Pogrebnoi](https://forums.percona.com/u/Andrew_Pogrebnoi)\
**Post date:** [July 23, 2020, 11:52am UTC](https://forums.percona.com/t/percona-for-single-server/7605/4 "2020-07-23T11:52:08Z")

</div>

Hi @csilva   
  
Could you provide more context please:  
1. What pbm version do you use?  
2. Mongo cluster topology &nbsp;-is it replicaset or sharded cluster?  
3. What do you mean by&nbsp;backup a database from a container? What exactly do you have in a container - pbm, pbm-agents, mongo, all&nbsp;together?&nbsp;  
4. What do you have in pbm-agents’ logs?

---

<div class="post-metadata">

**Author:** ![csilva](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@csilva](https://forums.percona.com/u/csilva)\
**Post date:** [July 23, 2020, 11:58am UTC](https://forums.percona.com/t/percona-for-single-server/7605/5 "2020-07-23T11:58:12Z")

</div>

@AndrewPogrebnoi   
I’m using version 1.2.0, It’s running in kubernetes, I have only one instance of MongoDB and I’m trying to backup what is storing that instance. My&nbsp; pbm instance is running in other container in kubernetes, and in my logs I’ve got this:  
  
2020/07/23 15:14:08 [ERROR] backup: node check: mongod node can not be used to fetch a consistent backup because it has   
no oplog. Please restart it as a primary in a single-node replicaset to make it compatible with PBM’s backup method usin  
g the oplog

---

<div class="post-metadata">

**Author:** ![Andrew\_Pogrebnoi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrew_pogrebnoi/32/77_2.png) [@Andrew\_Pogrebnoi](https://forums.percona.com/u/Andrew_Pogrebnoi)\
**Post date:** [July 24, 2020, 3:22am UTC](https://forums.percona.com/t/percona-for-single-server/7605/6 "2020-07-24T03:22:17Z")

</div>

@csilva   
Ok, got it. PBM doesn’t support non replicated environments and there is no way to make it does. It is a design constraint. You can use PBM with a single-node replicaset though. Just restart your node as a primary in&nbsp;a single-node replicaset as the error message suggests.  
Or you can use mongodump ([https://docs.mongodb.com/manual/reference/program/mongodump/](https://docs.mongodb.com/manual/reference/program/mongodump/)) to backup a standalone node.  
  
Cheers.
